This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Don't remove --tarball
[perl5.git] / Porting / sync-with-cpan
index df44606..139a5d9 100755 (executable)
@@ -276,7 +276,7 @@ print "About to clean up; hit return or abort (^C) "; <STDIN>;
 
 chdir "cpan";
 system rm => '-r', $old_dir;
-unlink $new_file;
+unlink $new_file unless $tarball;
 
 
 #