diff options
author | Gisle Aas <gisle@aas.no> | 2010-03-02 20:42:39 +0100 |
---|---|---|
committer | Gisle Aas <gisle@aas.no> | 2010-03-07 16:47:26 +0100 |
commit | 691ce773f92d2810db171a8ff46c3dd0196abfb5 (patch) | |
tree | 82203c045eda994772e2a6ecf98689887b42dfc0 /utils | |
parent | bfc37ff708b737d2490a23505b932c94f1898073 (diff) | |
download | perl-691ce773f92d2810db171a8ff46c3dd0196abfb5.tar.gz |
Only define PERL_PATCHNUM when either git or the .patch file is available
This patch also make PERL_GIT_UNCOMMITTED_CHANGES useful and thus avoids
always adding the "*" to the 'perl -v' output.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/perlbug.PL | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/perlbug.PL b/utils/perlbug.PL index c015e25510..2fe3c598c1 100644 --- a/utils/perlbug.PL +++ b/utils/perlbug.PL @@ -42,7 +42,7 @@ while (<PATCH_LEVEL>) { last if /^\s*}/; next if /^\s*#/; # preprocessor stuff next if /PERL_GIT_UNPUSHED_COMMITS/; # XXX expand instead - next if /PERL_GIT_UNCOMMITTED_CHANGES/; # XXX expand instead + next if /"uncommitted-changes"/; # XXX determine if active instead chomp; s/^\s+,?\s*"?//; s/"?\s*,?$//; |