From 00cd1c1f5f1373b4947792cec4b054450c949202 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 8 Oct 2018 10:30:48 +0200 Subject: bin/strict-bashism-check: only check for extra-quotes on real variable assignments --- bin/strict-bashism-check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/strict-bashism-check') 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 -- cgit v1.2.3-70-g09d2