Subject: [PATCH 12/14] checkbashisms: also handle 'ignore errors' in makefiles

From: Raphael Geissert <[email-masked]>
Date: Thu, 13 May 2010 09:54:55 -0500

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 fead788..5982c20 100755
--- a/scripts/checkbashisms.pl
+++ b/scripts/checkbashisms.pl
@@ -207,7 +207,7 @@ foreach my $filename (@ARGV) {
 	    s/^\t//;
 	    s/(?<!\$)\$\((\w+)\)/\${$1}/g;
 	    s/(\$){2}/$1/g;
-	    s/^[\s\t]*@//;
+	    s/^[\s\t]*[@-]{1,2}//;
 	}
 
 	if ($cat_string ne "" and m/^\Q$cat_string\E$/) {
-- 
1.7.1