Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/strict-bashism-check
diff options
context:
space:
mode:
Diffstat (limited to 'bin/strict-bashism-check')
-rwxr-xr-xbin/strict-bashism-check3
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