The following commit has been merged in the master branch:
commit f64b00c4abe68739fe9fb3c82cf567cb64df2066
Author: Raphael Geissert <[email protected]>
Date: Mon Oct 22 02:30:57 2012 -0500
checkbashisms: | is also a word delimiter
Signed-off-by: Benjamin Drung <[email protected]>
diff --git a/scripts/checkbashisms.pl b/scripts/checkbashisms.pl
index c5ec676..55f93cc 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