The following commit has been merged in the master branch:
commit 1d7ab9e7a3ad876db46586041bddc7fd0dd51259
Author: Raphael Geissert <[email protected]>
Date:   Mon Oct 22 11:16:09 2012 -0500

    checkbashisms: also break the heredoc delim. at '<' characters
    
    Signed-off-by: Benjamin Drung <[email protected]>

diff --git a/scripts/checkbashisms.pl b/scripts/checkbashisms.pl
index 356ecff..76adbf9 100755
--- a/scripts/checkbashisms.pl
+++ b/scripts/checkbashisms.pl
@@ -446,7 +446,7 @@ foreach my $filename (@ARGV) {
 
            # Only look for the beginning of a heredoc here, after we've
            # stripped out quoted material, to avoid false positives.
-           if ($cat_line =~ 
m/(?:^|[^<])\<\<(\-?)\s*(?:(?!<|'|")((?:[^\s;|]+(?:(?<=\\)[\s;|])?)+)|[\'\"](.*?)[\'\"])/)
 {
+           if ($cat_line =~ 
m/(?:^|[^<])\<\<(\-?)\s*(?:(?!<|'|")((?:[^\s;>|]+(?:(?<=\\)[\s;>|])?)+)|[\'\"](.*?)[\'\"])/)
 {
                $cat_indented = ($1 && $1 eq '-')? 1 : 0;
                my $quoted = defined($3);
                $cat_string = $quoted? $3 : $2;

-- 
Git repository for devscripts

_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to