summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-05 17:46:18 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-05 17:46:18 +0000
commit2206a5cd92c854b5e1c0a6693aeadd2ee3b22bf2 (patch)
tree16c9359875ea172a914fcbb2c44a78eeefc49185
parent6460720a4d0d797ca7a6bb3f6d98509d87b8fe6d (diff)
downloadperl-2206a5cd92c854b5e1c0a6693aeadd2ee3b22bf2.tar.gz
perlbug tweak to grok local_patches better
p4raw-id: //depot/perl@5550
-rw-r--r--utils/perlbug.PL4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/perlbug.PL b/utils/perlbug.PL
index f46564ea5f..f6280d25b8 100644
--- a/utils/perlbug.PL
+++ b/utils/perlbug.PL
@@ -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';
}