X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Porting%2Fmake_snapshot.pl;h=70a4c3d66d42d70503ab5ffc3b12c7ca225a8ce0;hb=a636c943c3929a440786edb825bc8af23c40278f;hp=cab61b17b260339e59f78bfbf4a3af77c65fa059;hpb=fe4f778754e1e2a5e05eddcd123ab68c16b18ab9;p=p5sagit%2Fp5-mst-13.2.git diff --git a/Porting/make_snapshot.pl b/Porting/make_snapshot.pl index cab61b1..70a4c3d 100755 --- a/Porting/make_snapshot.pl +++ b/Porting/make_snapshot.pl @@ -71,6 +71,7 @@ if (!-e "$path/$gz_file") { close $fh; } system("tar -f $tar_file --transform='s,^$$,$prefix,g' --owner=root --group=root --mode=664 --append $$.patch"); + unlink "$$.patch"; system("gzip -S .gz -9 $tar_file"); rename "$tar_file.gz", "$gz_file"; }