From 09fee973260d9d2c944e6538d46be157aae74236 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 14 Mar 2018 15:47:35 +0100 Subject: bin/strict-bashism-check: check lib/, too - except opcode_list --- bin/strict-bashism-check | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bin/strict-bashism-check') 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 -- cgit v1.2.3-70-g09d2