Author: adsb
Date: 2009-05-31 17:16:32 +0000 (Sun, 31 May 2009)
New Revision: 1900
Modified:
trunk/debian/changelog
trunk/scripts/checkbashisms.pl
Log:
Apply the "common lead-in text" to the "readonly" check.
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2009-05-31 17:15:22 UTC (rev 1899)
+++ trunk/debian/changelog 2009-05-31 17:16:32 UTC (rev 1900)
@@ -19,6 +19,7 @@
/bin/sh and we can't detect the interpreter of a patch.
+ Improve the check for the use of $[] inside quoted text. Thanks,
Raphael Geissert.
+ + Apply the "common lead-in text" to the "readonly" check.
* licensecheck: Fix an error in a regular expression which led to an
uninitialized value warning and missing version for some GPL headers.
Thanks, Jakub Wilk. (Closes: #531059)
Modified: trunk/scripts/checkbashisms.pl
===================================================================
--- trunk/scripts/checkbashisms.pl 2009-05-31 17:15:22 UTC (rev 1899)
+++ trunk/scripts/checkbashisms.pl 2009-05-31 17:16:32 UTC (rev 1900)
@@ -510,7 +510,7 @@
$LEADIN . qr'time\s' => q<time>,
$LEADIN . qr'dirs(\s|\Z)' => q<dirs>,
qr'(?:^|\s+)[<>]\(.*?\)' => q<\<() process substituion>,
- qr'(?:^|\s+)readonly\s+-[af]' => q<readonly -[af]>,
+ $LEADIN . qr'readonly\s+-[af]' => q<readonly -[af]>,
$LEADIN . qr'(sh|\$\{?SHELL\}?) -[rD]' => q<sh -[rD]>,
$LEADIN . qr'(sh|\$\{?SHELL\}?) --\w+' => q<sh --long-option>,
$LEADIN . qr'(sh|\$\{?SHELL\}?) [-+]O' => q<sh [-+]O>,
--
To unsubscribe, send mail to [email protected].