summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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