Author: adam-guest
Date: 2008-04-23 05:28:13 +0000 (Wed, 23 Apr 2008)
New Revision: 1379
Modified:
trunk/debian/changelog
trunk/scripts/checkbashisms.pl
Log:
* checkbashisms:
+ Match use of "SHELL=bash" as well as "SHELL=/bin/bash" in makefile mode
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-04-23 05:23:07 UTC (rev 1378)
+++ trunk/debian/changelog 2008-04-23 05:28:13 UTC (rev 1379)
@@ -1,8 +1,10 @@
devscripts (2.10.27) UNRELEASED; urgency=low
- * checkbashisms: When rebuilding the list of bashisms to check, ensure it is
- based on whether the current file is a makefile, rather than whether the
- previous file was. Thanks to Raphael Geissert for the brown paper bag.
+ * checkbashisms:
+ + When rebuilding the list of bashisms to check, ensure it is based
+ on whether the current file is a makefile, rather than whether the
+ previous file was. Thanks to Raphael Geissert for the brown paper bag.
+ + Match use of "SHELL=bash" as well as "SHELL=/bin/bash" in makefile mode
* debchange: Correctly handle the BTS returning no bugs for a package when
--closes is used (either because the package doesn't exist in the archive
or it has no open bugs)
Modified: trunk/scripts/checkbashisms.pl
===================================================================
--- trunk/scripts/checkbashisms.pl 2008-04-23 05:23:07 UTC (rev 1378)
+++ trunk/scripts/checkbashisms.pl 2008-04-23 05:28:13 UTC (rev 1379)
@@ -152,7 +152,7 @@
$_ = $1 if $1;
}
- last if m%^(export )?SHELL\s*=\s*/bin/bash\s*$%;
+ last if m%^(export )?SHELL\s*=\s*(/bin/)?bash\s*$%;
s/^\t//;
s/(\$){2}/$1/;
--
To unsubscribe, send mail to [EMAIL PROTECTED]