Author: adam-guest
Date: 2008-05-15 17:33:36 +0000 (Thu, 15 May 2008)
New Revision: 1448
Modified:
trunk/debian/changelog
trunk/scripts/checkbashisms.pl
Log:
Add a check for the use of the -a or -f arguments to the "readonly" builtin
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-05-14 18:26:25 UTC (rev 1447)
+++ trunk/debian/changelog 2008-05-15 17:33:36 UTC (rev 1448)
@@ -18,7 +18,8 @@
+ Fix false positives in the tests for "time" and "test with unary -a"
+ Apply various improvements to "quoted block" detection
+ Correctly match 'echo "$(< $0)"'
- + Add a check for "$[" (a deprecated form of arithmetic expansion)
+ + Add checks for "$[" (a deprecated form of arithmetic expansion) and
+ the use of the -a or -f arguments to the "readonly" builtin
* cowpoke: New script to upload a Debian source package to a cowbuilder host
and build it, optionally also signing and uploading the result to an
incoming queue (Closes: #479274)
Modified: trunk/scripts/checkbashisms.pl
===================================================================
--- trunk/scripts/checkbashisms.pl 2008-05-14 18:26:25 UTC (rev 1447)
+++ trunk/scripts/checkbashisms.pl 2008-05-15 17:33:36 UTC (rev 1448)
@@ -417,6 +417,7 @@
$LEADIN . 'time\s' => q<time>,
$LEADIN . 'dirs\b' => q<dirs>,
'(?:^|\s+)[<>]\(.*?\)' => q<\<() process substituion>,
+ '(?:^|\s+)readonly\s+-[af]' => q<readonly -[af]>
);
%string_bashisms = (
--
To unsubscribe, send mail to [EMAIL PROTECTED]