From 5db02ee3b1db056717c247ea9cb722d201c38722 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 28 May 2018 09:37:56 +0200 Subject: bin/strict-bashism-check: which -> command -v --- bin/strict-bashism-check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/strict-bashism-check') diff --git a/bin/strict-bashism-check b/bin/strict-bashism-check index 9b37809..40eccf7 100755 --- a/bin/strict-bashism-check +++ b/bin/strict-bashism-check @@ -85,7 +85,7 @@ if [ -n "${errors}" ]; then exit 1 fi -if which shellcheck >/dev/null 2>&1; then +if command -v shellcheck >/dev/null 2>&1; then errors=$( find bin conf lib \ -type f \ -- cgit v1.2.3