[SCM] Git repository for devscripts branch, master, updated. v2.12.4-72-gcf18b4b

Benjamin Drung bdrung at debian.org
Sat Nov 10 23:00:37 UTC 2012


The following commit has been merged in the master branch:
commit 9de50c0440b3b350c683d8fb4a89bb1e6ea1f011
Author: Raphael Geissert <geissert at debian.org>
Date:   Thu Nov 1 01:11:20 2012 -0600

    checkbashisms: check for use of non-standard tilde expansion
    
    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 c9329b7..1e10eff 100755
--- a/scripts/checkbashisms.pl
+++ b/scripts/checkbashisms.pl
@@ -630,6 +630,7 @@ sub init_hashes {
 	$LEADIN . qr'(?:exit|return)\s+--' => q<'exit --' should be 'exit' (idem for return)>,
 	$LEADIN . qr'sleep\s+(?:-|\d+(?:[.a-z]|\s+\d))' => q<sleep only takes one integer>,
 	$LEADIN . qr'hash(\s|\Z)' =>     q<hash>,
+	qr'(?:[:=\s])~(?:[+-]|[+-]?\d+)(?:[/\s]|\Z)' => q<non-standard tilde expansion>,
     );
 
     %string_bashisms = (

-- 
Git repository for devscripts



More information about the devscripts-devel mailing list