Author: adam-guest
Date: 2008-07-06 19:55:59 +0000 (Sun, 06 Jul 2008)
New Revision: 1559

Modified:
   trunk/debian/changelog
   trunk/scripts/checkbashisms.pl
Log:
  + Fix a thinko in the quoted-block detection (thankfully the effects were
    largely benign, unless one was attempting to check libtool...)

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2008-07-04 20:06:00 UTC (rev 1558)
+++ trunk/debian/changelog      2008-07-06 19:55:59 UTC (rev 1559)
@@ -1,6 +1,9 @@
 devscripts (2.10.34) UNRELEASED; urgency=low
 
-  * checkbashisms: Match the use of "shell echo -n" and "if foo then echo -n"
+  * checkbashisms:
+    + Match the use of "shell echo -n" and "if foo then echo -n"
+    + Fix a thinko in the quoted-block detection (thankfully the effects were
+      largely benign, unless one was attempting to check libtool...)
   * debchange: Also collapse UNRELEASED stanzas when -d is used
   * debcheckout:
     + Improve git repository handling with --file

Modified: trunk/scripts/checkbashisms.pl
===================================================================
--- trunk/scripts/checkbashisms.pl      2008-07-04 20:06:00 UTC (rev 1558)
+++ trunk/scripts/checkbashisms.pl      2008-07-06 19:55:59 UTC (rev 1559)
@@ -254,7 +254,7 @@
                    # "a'b"
                    $templine =~ s/$otherquote.*?$quote.*?$otherquote//g;
                    # "\""
-                   $templine =~ 
s/(^|[^\\])$quote_string\\$quote_string$quote_string/$1/g;
+                   $templine =~ s/(^|[^\\])$quote\\$quote$quote/$1/g;
                    my $count = () = $templine =~ /(^|[^\\])$quote/g;
 
                    # If there's an odd number of non-escaped



-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to