-
-
Notifications
You must be signed in to change notification settings - Fork 422
Closed
Labels
CIEntries related to continuous integration infrastructure (here CI = tools + scripts + recipes)Entries related to continuous integration infrastructure (here CI = tools + scripts + recipes)Solaris/illumosSolaris and illumos systems (OpenIndiana, OmniOS, SmartOS, TribbliX...)Solaris and illumos systems (OpenIndiana, OmniOS, SmartOS, TribbliX...)bugimpacts-release-2.8.4Issues reported against NUT release 2.8.4 (maybe vanilla or with minor packaging tweaks)Issues reported against NUT release 2.8.4 (maybe vanilla or with minor packaging tweaks)portabilityWe want NUT to build and run everywhere possibleWe want NUT to build and run everywhere possible
Milestone
Description
scripts/upsdrvsvcctl/nut-driver-enumerator.sh.in contains grep invocations like
scripts/upsdrvsvcctl/nut-driver-enumerator.sh.in:if set | grep -E '^(shell|version|t?csh)' | grep -E 't?csh' >/dev/null ; then
scripts/upsdrvsvcctl/nut-driver-enumerator.sh.in: echo "$SVCINST_PROPS" | grep -E "^${SVCINST}${TABCHAR}"'$' >/dev/null && echo "$SVCINST"
scripts/upsdrvsvcctl/nut-driver-enumerator.sh.in: echo "$SVCINST_PROPS" | grep -E "^${SVCINST}${TABCHAR}" >/dev/null || echo "$SVCINST"
scripts/upsdrvsvcctl/nut-driver-enumerator.sh.in: echo "$SVCINSTS" | grep -E "^${SVCINST_PROP}"'$' >/dev/null || echo "$SVCINST_PROP"
scripts/upsdrvsvcctl/nut-driver-enumerator.sh.in: echo "$SVCINST_PROPS" | grep -E "^${SVCINST}${TABCHAR}"'$' >/dev/null && echo "$SVCINST"
scripts/upsdrvsvcctl/nut-driver-enumerator.sh.in: echo "$SVCINST_PROPS" | grep -E "^${SVCINST}${TABCHAR}" >/dev/null || echo "$SVCINST"
However it has gone to some trouble during configure step to determine what the functional names of EGREP, FGREP, and GREP are -- and on a Solaris system those are
scripts/upsdrvsvcctl/Makefile:EGREP = /usr/gnu/bin/grep -E
scripts/upsdrvsvcctl/Makefile:FGREP = /usr/gnu/bin/grep -F
scripts/upsdrvsvcctl/Makefile:GREP = /usr/gnu/bin/grep
not just plain grep. So... it would be helpful if the transformation from nut-driver-enumerator.sh.in to nut-driver-enumerator.sh took this into account.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
CIEntries related to continuous integration infrastructure (here CI = tools + scripts + recipes)Entries related to continuous integration infrastructure (here CI = tools + scripts + recipes)Solaris/illumosSolaris and illumos systems (OpenIndiana, OmniOS, SmartOS, TribbliX...)Solaris and illumos systems (OpenIndiana, OmniOS, SmartOS, TribbliX...)bugimpacts-release-2.8.4Issues reported against NUT release 2.8.4 (maybe vanilla or with minor packaging tweaks)Issues reported against NUT release 2.8.4 (maybe vanilla or with minor packaging tweaks)portabilityWe want NUT to build and run everywhere possibleWe want NUT to build and run everywhere possible