[SCM] Git repository for devscripts branch, master, updated. v2.12.4-72-gcf18b4b
Benjamin Drung
bdrung at debian.org
Sat Nov 10 23:00:36 UTC 2012
The following commit has been merged in the master branch:
commit a62267bfbe363bb47b67ed956942e49a1f680313
Author: Raphael Geissert <geissert at debian.org>
Date: Wed Oct 31 20:48:44 2012 -0600
checkbashisms: check for the use of $_
Signed-off-by: Raphael Geissert <geissert at debian.org>
Signed-off-by: Benjamin Drung <bdrung at debian.org>
diff --git a/scripts/checkbashisms.pl b/scripts/checkbashisms.pl
index a61777b..c9329b7 100755
--- a/scripts/checkbashisms.pl
+++ b/scripts/checkbashisms.pl
@@ -655,6 +655,7 @@ sub init_hashes {
qr'(?:^|\s+)TMOUT=' => q<TMOUT=>,
qr'\$\{?TIMEFORMAT\}?\b' => q<$TIMEFORMAT>,
qr'(?:^|\s+)TIMEFORMAT=' => q<TIMEFORMAT=>,
+ qr'\$\{?_\}?\b' => q<$_>,
qr'<<<' => q<\<\<\< here string>,
$LEADIN . qr'echo\s+(?:-[^e\s]+\s+)?\"[^\"]*(\\[abcEfnrtv0])+.*?[\"]' => q<unsafe echo with backslash>,
qr'\$\(\([\s\w$*/+-]*\w\+\+.*?\)\)' => q<'$((n++))' should be '$n; $((n=n+1))'>,
--
Git repository for devscripts
More information about the devscripts-devel
mailing list