summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbigail <abigail@abigail.be>2012-03-19 14:26:12 +0100
committerAbigail <abigail@abigail.be>2012-03-19 14:26:12 +0100
commite81fec2c92c338f9d506a01f47364f85ef3b7b75 (patch)
tree8904a78ba67006bbc066c85ca883710c7fa0b4e4
parent33e80a479f628997e99534cde168f74bb9444d15 (diff)
downloadperl-e81fec2c92c338f9d506a01f47364f85ef3b7b75.tar.gz
Don't remove --tarball
By default, the script removes the tarball of the new distributions. However, if the --tarball option was given (and hence, the file was not downloaded from CPAN), we opt to keep this file around.
-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 df44606aec..139a5d949f 100755
--- a/Porting/sync-with-cpan
+++ b/Porting/sync-with-cpan
@@ -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;
#