]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: Fix bash shell detection
authorEric Bollengier <eric@baculasystems.com>
Sun, 5 Dec 2021 16:52:48 +0000 (17:52 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:56 +0000 (13:56 +0200)
regress/scripts/regress-utils.sh

index 882b2075d370e05f5100b0afe893f6db5f581777..bbd1da8dcc570ed1bf6074d8c8c82d4f56ab6f90 100755 (executable)
@@ -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