From: Eric Bollengier Date: Wed, 23 Mar 2022 14:54:47 +0000 (+0100) Subject: regress: Ensure to detect bash correctly in scripts/regress-utils.sh X-Git-Tag: Release-11.3.2~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50b519a443b88384197f0c29ca51be0f1a8b858d;p=thirdparty%2Fbacula.git regress: Ensure to detect bash correctly in scripts/regress-utils.sh --- diff --git a/regress/scripts/regress-utils.sh b/regress/scripts/regress-utils.sh index 8369565a2..882b2075d 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 $0)" != "x/bash" +if test "x/$(basename $SHELL)" != "x/bash" then echo "Regression script must use BASH for this utilities!" exit 1