summaryrefslogtreecommitdiff
path: root/bin/strict-bashism-check
diff options
context:
space:
mode:
Diffstat (limited to 'bin/strict-bashism-check')
-rwxr-xr-xbin/strict-bashism-check2
1 files changed, 1 insertions, 1 deletions
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 \