This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2d776b
)
allow overriding version in this branch too
author
Jesse Luehrs
<doy@tozt.net>
Mon, 18 Jun 2012 20:57:18 +0000
(15:57 -0500)
committer
Jesse Luehrs
<doy@tozt.net>
Mon, 18 Jun 2012 22:10:26 +0000
(17:10 -0500)
Porting/sync-with-cpan
patch
|
blob
|
blame
|
history
diff --git
a/Porting/sync-with-cpan
b/Porting/sync-with-cpan
index
a5df5cd
..
f85e50e
100755
(executable)
--- a/
Porting/sync-with-cpan
+++ b/
Porting/sync-with-cpan
@@
-201,6
+201,10
@@
unless ($tarball) {
or die "Cannot find $cpan_mod on CPAN\n";
chomp $new_line;
(undef, $new_version, my $new_path) = split ' ', $new_line;
+ if (defined $version) {
+ $new_path =~ s/-$new_version\./-$version\./;
+ $new_version = $version;
+ }
$new_file = (split '/', $new_path) [-1];
my $url = "http://search.cpan.org/CPAN/authors/id/$new_path";