summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-14 15:47:35 +0100
committerErich Eckner <git@eckner.net>2018-03-14 15:47:35 +0100
commit09fee973260d9d2c944e6538d46be157aae74236 (patch)
treea02773cf16faffe30465dc19577f8fe76f4eaea7 /bin
parente84d9650048d1dccf8d30ae456811a08ea88baaa (diff)
downloadbuilder-09fee973260d9d2c944e6538d46be157aae74236.tar.xz
bin/strict-bashism-check: check lib/, too - except opcode_list
Diffstat (limited to 'bin')
-rwxr-xr-xbin/strict-bashism-check6
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