The following commit has been merged in the master branch:
commit 82dbb6aa1d4527d7c54e372c1d21182578795ee2
Author: Raphael Geissert <[email protected]>
Date: Thu May 13 09:24:15 2010 -0500
checkbashisms: allow SHELL to be prefixed with 'override'
Signed-off-by: Raphael Geissert <[email protected]>
Signed-off-by: James Vega <[email protected]>
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;
--
Git repository for devscripts
--
To unsubscribe, send mail to [email protected].