The following commit has been merged in the master branch:
commit cb87adafdb2caa9b1f4d75baf46b0e473fdcbeb8
Author: Raphael Geissert <[email protected]>
Date:   Thu May 13 09:54:55 2010 -0500

    checkbashisms: also handle 'ignore errors' in makefiles
    
    Signed-off-by: Raphael Geissert <[email protected]>
    Signed-off-by: James Vega <[email protected]>

diff --git a/scripts/checkbashisms.pl b/scripts/checkbashisms.pl
index fead788..5982c20 100755
--- a/scripts/checkbashisms.pl
+++ b/scripts/checkbashisms.pl
@@ -207,7 +207,7 @@ foreach my $filename (@ARGV) {
            s/^\t//;
            s/(?<!\$)\$\((\w+)\)/\${$1}/g;
            s/(\$){2}/$1/g;
-           s/^[\s\t]*@//;
+           s/^[\s\t...@-]{1,2}//;
        }
 
        if ($cat_string ne "" and m/^\Q$cat_string\E$/) {

-- 
Git repository for devscripts


-- 
To unsubscribe, send mail to [email protected].

Reply via email to