diff options
author | Erich Eckner <git@eckner.net> | 2018-05-28 09:37:56 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-28 09:40:33 +0200 |
commit | 5db02ee3b1db056717c247ea9cb722d201c38722 (patch) | |
tree | db204c26ba6aa5af3bd0408ed4f3ff478b5ee153 /bin | |
parent | bd96b6f15c9fbce2e9115375d5b13b194efbfbb4 (diff) | |
download | builder-5db02ee3b1db056717c247ea9cb722d201c38722.tar.xz |
bin/strict-bashism-check: which -> command -v
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/strict-bashism-check | 2 |
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 \ |