Set SHELL, if not already set, in order to

avoid failure when `make check' is run through debuild;  dircolors
would fail due to lack of $SHELL.  Reported by Sven Joachim.
This commit is contained in:
Jim Meyering 2006-03-05 17:28:42 +00:00
parent bda9edc1d5
commit 2467cad537

View File

@ -4,6 +4,14 @@
test "$VERBOSE" = yes && set -x
# Ensure that $SHELL is set to *some* value.
# This is required for dircolors, which would fail e.g., when
# invoked via debuild (which removes SHELL from the environment).
if test "x$SHELL" = x; then
SHELL=/bin/sh
export SHELL
fi
expected_failure_status_nohup=127
expected_failure_status_printenv=2
expected_failure_status_tty=3