mirror of
https://https.git.savannah.gnu.org/git/coreutils.git
synced 2026-01-26 15:29:07 +00:00
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:
parent
bda9edc1d5
commit
2467cad537
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user