From d9a9ab193a00123d5839505ddfe1563c2286bb9f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 24 Feb 2018 19:48:14 +0100 Subject: bin/strict-bashism-check: check lib/, too --- bin/strict-bashism-check | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/strict-bashism-check') diff --git a/bin/strict-bashism-check b/bin/strict-bashism-check index 3bb3884..b1bd3bf 100755 --- a/bin/strict-bashism-check +++ b/bin/strict-bashism-check @@ -52,7 +52,7 @@ git archive "${tree}" | \ errors=$( cd "${tmp_dir}" || \ echo 'Cannot cd.' - find "bin" "conf" -type f -not -executable -not -name '.gitignore' + find bin conf lib -type f -not -executable -not -name '.gitignore' ) if [ -n "${errors}" ]; then @@ -63,7 +63,7 @@ fi errors=$( # shellcheck disable=SC2016 - find bin conf -type f -executable -exec grep -H '="\$(' {} \; + find bin conf lib -type f -executable -exec grep -H '="\$(' {} \; ) if [ -n "${errors}" ]; then -- cgit v1.2.3