summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-08 10:30:48 +0200
committerErich Eckner <git@eckner.net>2018-10-08 10:30:48 +0200
commit00cd1c1f5f1373b4947792cec4b054450c949202 (patch)
tree752507d3b82edb40fd25dcc495391dd71f198356
parent4813679d86b9628f428976929552523521bc541b (diff)
downloadbuilder-00cd1c1f5f1373b4947792cec4b054450c949202.tar.xz
bin/strict-bashism-check: only check for extra-quotes on real variable assignments
-rwxr-xr-xbin/strict-bashism-check2
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