summaryrefslogtreecommitdiff
path: root/Porting/sync-with-cpan
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-06-18 17:44:04 -0500
committerJesse Luehrs <doy@tozt.net>2012-06-18 17:44:04 -0500
commit33c6567b4b9cfe8fe9757d33c3278db5e95b8a7e (patch)
tree5dcc1022a0db53b9305d17a7f6d9eea91eeb06f0 /Porting/sync-with-cpan
parent7bbb137d0b8b6cb70f9be5fce0400b15e4b028af (diff)
downloadperl-33c6567b4b9cfe8fe9757d33c3278db5e95b8a7e.tar.gz
whoops, should be using $new_version here
Diffstat (limited to 'Porting/sync-with-cpan')
-rwxr-xr-xPorting/sync-with-cpan2
1 files changed, 1 insertions, 1 deletions
diff --git a/Porting/sync-with-cpan b/Porting/sync-with-cpan
index 46eee54081..b90612fb67 100755
--- a/Porting/sync-with-cpan
+++ b/Porting/sync-with-cpan
@@ -449,7 +449,7 @@ while (<$Maintainers_pl>) {
if (!$found) {
if ($in_mod_section) {
if (/DISTRIBUTION/) {
- if (s/\Q$old_version/$version/) {
+ if (s/\Q$old_version/$new_version/) {
$found = 1;
}
}