[SCM] Git repository for devscripts branch, master, updated. v2.12.4-43-g227b8b8
Benjamin Drung
bdrung at debian.org
Thu Oct 25 20:17:09 UTC 2012
The following commit has been merged in the master branch:
commit 1d7ab9e7a3ad876db46586041bddc7fd0dd51259
Author: Raphael Geissert <geissert at debian.org>
Date: Mon Oct 22 11:16:09 2012 -0500
checkbashisms: also break the heredoc delim. at '<' characters
Signed-off-by: Benjamin Drung <bdrung at debian.org>
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
More information about the devscripts-devel
mailing list