Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
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
parentbd96b6f15c9fbce2e9115375d5b13b194efbfbb4 (diff)
bin/strict-bashism-check: which -> command -v
-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 \