Subject: [PATCH 02/14] checkbashisms: simplify all shell variables in makefiles

From: Raphael Geissert <[email-masked]>
Date: Mon, 10 May 2010 01:09:29 -0500

Only one per-line was simplified.

Signed-off-by: Raphael Geissert <[email-masked]>
---
 scripts/checkbashisms.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/checkbashisms.pl b/scripts/checkbashisms.pl
index 0d0f5c8..6715aa4 100755
--- a/scripts/checkbashisms.pl
+++ b/scripts/checkbashisms.pl
@@ -189,7 +189,7 @@ foreach my $filename (@ARGV) {
 
 	    s/^\t//;
 	    s/(?<!\$)\$\((\w+)\)/\${$1}/g;
-	    s/(\$){2}/$1/;
+	    s/(\$){2}/$1/g;
 	    s/^[\s\t]*@//;
 	}
 
-- 
1.7.1