[SCM] Git repository for devscripts branch, master, updated. v2.12.4-55-g9e10e6c

Benjamin Drung bdrung at debian.org
Fri Oct 26 12:00:43 UTC 2012


The following commit has been merged in the master branch:
commit 0371f85cb1c266a108a2f0ed3f0f14ba4a6da89a
Author: Raphael Geissert <geissert at debian.org>
Date:   Wed Oct 24 19:08:51 2012 -0500

    checkbashisms: detect the use of the hash utility
    
    It is an XSI extension in SUSv3. Bash implements even more options.
    
    Signed-off-by: Benjamin Drung <bdrung at debian.org>

diff --git a/scripts/checkbashisms.pl b/scripts/checkbashisms.pl
index 5653c5a..63cf510 100755
--- a/scripts/checkbashisms.pl
+++ b/scripts/checkbashisms.pl
@@ -628,6 +628,7 @@ sub init_hashes {
 	$LEADIN . qr'(?:exit|return)\s+-\d' => q<exit|return with negative status code>,
 	$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>,
     );
 
     %string_bashisms = (

-- 
Git repository for devscripts



More information about the devscripts-devel mailing list