diff options
author | Erich Eckner <git@eckner.net> | 2018-10-08 10:30:48 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-10-08 10:30:48 +0200 |
commit | 00cd1c1f5f1373b4947792cec4b054450c949202 (patch) | |
tree | 752507d3b82edb40fd25dcc495391dd71f198356 /bin | |
parent | 4813679d86b9628f428976929552523521bc541b (diff) | |
download | builder-00cd1c1f5f1373b4947792cec4b054450c949202.tar.xz |
bin/strict-bashism-check: only check for extra-quotes on real variable assignments
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/strict-bashism-check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/strict-bashism-check b/bin/strict-bashism-check index 40eccf7..8e58e05 100755 --- a/bin/strict-bashism-check +++ b/bin/strict-bashism-check @@ -76,7 +76,7 @@ fi errors=$( # shellcheck disable=SC2016 - find bin conf lib -type f -executable -exec grep -H '="\$(' {} \; + find bin conf lib -type f -executable -exec grep -H '^\s*\S\+="\$(' {} \; ) if [ -n "${errors}" ]; then |