diff options
author | Erich Eckner <git@eckner.net> | 2018-03-14 15:47:35 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-03-14 15:47:35 +0100 |
commit | 09fee973260d9d2c944e6538d46be157aae74236 (patch) | |
tree | a02773cf16faffe30465dc19577f8fe76f4eaea7 /bin/strict-bashism-check | |
parent | e84d9650048d1dccf8d30ae456811a08ea88baaa (diff) | |
download | builder-09fee973260d9d2c944e6538d46be157aae74236.tar.xz |
bin/strict-bashism-check: check lib/, too - except opcode_list
Diffstat (limited to 'bin/strict-bashism-check')
-rwxr-xr-x | bin/strict-bashism-check | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/strict-bashism-check b/bin/strict-bashism-check index 1d7c2be..cbf7e5b 100755 --- a/bin/strict-bashism-check +++ b/bin/strict-bashism-check @@ -87,7 +87,11 @@ fi if which shellcheck >/dev/null 2>&1; then errors=$( - shellcheck -x bin/* conf/* 2>&1 + find bin conf lib \ + -type f \ + -not -name 'opcode_list' \ + -not -name '.*' \ + -exec shellcheck -x '{}' \; 2>&1 ) if [ -n "${errors}" ]; then |