Subject: [PATCH 10/14] checkbashisms: allow SHELL to be prefixed with 'override'

From: Raphael Geissert <[email-masked]>
Date: Thu, 13 May 2010 09:24:15 -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 02698af..1eeda6a 100755
--- a/scripts/checkbashisms.pl
+++ b/scripts/checkbashisms.pl
@@ -198,7 +198,7 @@ foreach my $filename (@ARGV) {
 		$_ = $1 if $1;
 	    } 
 
-	    last if m%^(export )?SHELL\s*:?=\s*(/bin/)?bash\s*%;
+	    last if m%^\s*(override|export)?\s*SHELL\s*:?=\s*(/bin/)?bash\s*%;
 
 	    s/^\t//;
 	    s/(?<!\$)\$\((\w+)\)/\${$1}/g;
-- 
1.7.1