summaryrefslogtreecommitdiff
path: root/bin/strict-bashism-check
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-28 09:37:56 +0200
committerErich Eckner <git@eckner.net>2018-05-28 09:40:33 +0200
commit5db02ee3b1db056717c247ea9cb722d201c38722 (patch)
treedb204c26ba6aa5af3bd0408ed4f3ff478b5ee153 /bin/strict-bashism-check
parentbd96b6f15c9fbce2e9115375d5b13b194efbfbb4 (diff)
downloadbuilder-5db02ee3b1db056717c247ea9cb722d201c38722.tar.xz
bin/strict-bashism-check: which -> command -v
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 \