From: Eric Bollengier Date: Sun, 5 Dec 2021 16:52:48 +0000 (+0100) Subject: regress: Fix bash shell detection X-Git-Tag: Beta-15.0.0~726 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d603df0878af2ff29d62e187766b09285a0211cd;p=thirdparty%2Fbacula.git regress: Fix bash shell detection --- diff --git a/regress/scripts/regress-utils.sh b/regress/scripts/regress-utils.sh index 882b2075d..bbd1da8dc 100755 --- a/regress/scripts/regress-utils.sh +++ b/regress/scripts/regress-utils.sh @@ -17,7 +17,7 @@ # # now check if we are running under a proper shell -if test "x/$(basename $SHELL)" != "x/bash" +if test "$BASH" != "/bin/bash" then echo "Regression script must use BASH for this utilities!" exit 1