From 8db7e5acbe9de5f44ed79ba4ce11947b3586338f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 24 Mar 2018 20:51:16 +0100 Subject: run shellchek in same dir as script --- bin/strict-bashism-check | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/strict-bashism-check') 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 -- cgit v1.2.3