perlbug tweak to grok local_patches better
authorGurusamy Sarathy <gsar@cpan.org>
Sun, 5 Mar 2000 17:46:18 +0000 (17:46 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Sun, 5 Mar 2000 17:46:18 +0000 (17:46 +0000)
p4raw-id: //depot/perl@5550

utils/perlbug.PL

index f46564e..f6280d2 100644 (file)
@@ -37,8 +37,8 @@ my @patches;
 while (<PATCH_LEVEL>) {
     last if /^\s*}/;
     chomp;
-    s/^\s+,?"?//;
-    s/"?,?$//;
+    s/^\s+,?\s*"?//;
+    s/"?\s*,?$//;
     s/(['\\])/\\$1/g;
     push @patches, $_ unless $_ eq 'NULL';
 }