diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 28d31b9c7d..d7d5a8c1a1 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -221,7 +221,7 @@ err_msg() check_tools() { for TOOL in "$@"; do - if ! `hash "$TOOL" >/dev/null 2>&1`; then + if ! `type "$TOOL" >/dev/null 2>&1`; then err_msg "$TOOL not found!" exit 1 fi