diff options
author | Erich Eckner <git@eckner.net> | 2018-02-24 19:48:14 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-02-24 19:48:14 +0100 |
commit | d9a9ab193a00123d5839505ddfe1563c2286bb9f (patch) | |
tree | 0c9cbcdc37c15b255337605ab56e3ff51f1e1f56 /bin/strict-bashism-check | |
parent | 2e6d97b8ddcd16f029673bc6f101fc3baf141e51 (diff) | |
download | builder-d9a9ab193a00123d5839505ddfe1563c2286bb9f.tar.xz |
bin/strict-bashism-check: check lib/, too
Diffstat (limited to 'bin/strict-bashism-check')
-rwxr-xr-x | bin/strict-bashism-check | 4 |
1 files changed, 2 insertions, 2 deletions
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 |