From: Martin Schwenke Date: Sun, 1 Jul 2018 03:30:06 +0000 (+1000) Subject: ctdb-tests: Improve portability by not using /bin/bash directly X-Git-Tag: ldb-1.5.0~130 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dd9d8a20aa6948a5d1e7fb532842b7ff5bc0f550;p=thirdparty%2Fsamba.git ctdb-tests: Improve portability by not using /bin/bash directly FreeBSD and others do not have /bin/bash, so use "/usr/bin/env bash" for better flexibility. There are still many integration tests that use /bin/bash but this at least lets FreeBSD start running tests. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13520 Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/tests/run_tests.sh b/ctdb/tests/run_tests.sh index f1268a5f404..7e0b26deb66 100755 --- a/ctdb/tests/run_tests.sh +++ b/ctdb/tests/run_tests.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash usage() { cat <