Author: adam-guest
Date: 2008-05-11 19:55:41 +0000 (Sun, 11 May 2008)
New Revision: 1443
Modified:
trunk/scripts/checkbashisms.pl
Log:
Remove code no longer required after the earlier "quoted string" tidy up
Modified: trunk/scripts/checkbashisms.pl
===================================================================
--- trunk/scripts/checkbashisms.pl 2008-05-11 19:29:47 UTC (rev 1442)
+++ trunk/scripts/checkbashisms.pl 2008-05-11 19:55:41 UTC (rev 1443)
@@ -216,11 +216,7 @@
my $count = () = $templine =~ /(^|[^\\])$quote_string/g;
next if $count == 0;
- $templine = $rest;
- # Remove "" or ''
- $templine =~ s/(^|[^\\])$quote_string$quote_string/$1/g;
-
- $count = () = $templine =~ /(^|[^\\])$quote_string/g;
+ $count = () = $rest =~ /(^|[^\\])$quote_string/g;
if ($count % 2 == 0) {
# Quoted block ends on this line
# Ignore everything before the closing quote
--
To unsubscribe, send mail to [EMAIL PROTECTED]