diff options
author | Erich Eckner <git@eckner.net> | 2018-03-24 20:51:16 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-03-24 20:51:16 +0100 |
commit | 8db7e5acbe9de5f44ed79ba4ce11947b3586338f (patch) | |
tree | 7ebcf856ded618abcd405963f1369db013cf5de3 /bin/strict-bashism-check | |
parent | 913da48c13219d5f2074880645cbaab0c76376f5 (diff) | |
download | builder-8db7e5acbe9de5f44ed79ba4ce11947b3586338f.tar.xz |
run shellchek in same dir as script
Diffstat (limited to 'bin/strict-bashism-check')
-rwxr-xr-x | bin/strict-bashism-check | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/strict-bashism-check b/bin/strict-bashism-check index cbf7e5b..ff1a29a 100755 --- a/bin/strict-bashism-check +++ b/bin/strict-bashism-check @@ -89,9 +89,10 @@ if which shellcheck >/dev/null 2>&1; then errors=$( find bin conf lib \ -type f \ + -not -name 'opcode' \ -not -name 'opcode_list' \ -not -name '.*' \ - -exec shellcheck -x '{}' \; 2>&1 + -execdir shellcheck -x '{}' \; 2>&1 ) if [ -n "${errors}" ]; then |