From: Martin Schwenke Date: Mon, 5 Aug 2019 00:21:16 +0000 (+1000) Subject: ctdb-tests: Avoid shellcheck warning SC2230 X-Git-Tag: tdb-1.4.2~141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b198de03dce559decc25fd3ba65ee457fe6cb0ef;p=thirdparty%2Fsamba.git ctdb-tests: Avoid shellcheck warning SC2230 SC2230 which is non-standard... Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/tests/run_tests.sh b/ctdb/tests/run_tests.sh index 73523628c79..faaac10ad61 100755 --- a/ctdb/tests/run_tests.sh +++ b/ctdb/tests/run_tests.sh @@ -155,7 +155,7 @@ tests_passed=0 tests_failed=0 summary="" -if ! which mktemp >/dev/null 2>&1 ; then +if ! type mktemp >/dev/null 2>&1 ; then # Not perfect, but it will do... mktemp () {