summaryrefslogtreecommitdiff
path: root/bin/strict-bashism-check
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-24 20:51:16 +0100
committerErich Eckner <git@eckner.net>2018-03-24 20:51:16 +0100
commit8db7e5acbe9de5f44ed79ba4ce11947b3586338f (patch)
tree7ebcf856ded618abcd405963f1369db013cf5de3 /bin/strict-bashism-check
parent913da48c13219d5f2074880645cbaab0c76376f5 (diff)
downloadbuilder-8db7e5acbe9de5f44ed79ba4ce11947b3586338f.tar.xz
run shellchek in same dir as script
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