summaryrefslogtreecommitdiff
path: root/Porting/make_snapshot.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Porting/make_snapshot.pl')
-rwxr-xr-xPorting/make_snapshot.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/Porting/make_snapshot.pl b/Porting/make_snapshot.pl
index cab61b17b2..70a4c3d66d 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";
}