summaryrefslogtreecommitdiff
path: root/Porting/makerel
diff options
context:
space:
mode:
authorNicolas R <atoomic@cpan.org>2020-06-05 12:08:25 -0600
committerNicolas R <nicolas@atoomic.org>2020-07-30 15:53:50 -0600
commit738b83d11b4491f39158205fa0da4a726367c8d6 (patch)
tree9484ad447498d29b866d22df1b728b38c1a26618 /Porting/makerel
parenta02b1ce42824d24fab534e93f0a72294c0b6b341 (diff)
downloadperl-738b83d11b4491f39158205fa0da4a726367c8d6.tar.gz
Porting/makerel - check for xz
In addition to the .tar.gz file also abort when one .xz file already exists.
Diffstat (limited to 'Porting/makerel')
-rwxr-xr-xPorting/makerel1
1 files changed, 1 insertions, 0 deletions
diff --git a/Porting/makerel b/Porting/makerel
index d996f68471..9969b3c6ad 100755
--- a/Porting/makerel
+++ b/Porting/makerel
@@ -102,6 +102,7 @@ print "\n";
print "Creating $relroot/$reldir release directory...\n";
die "$relroot/$reldir release directory already exists\n" if -e "$relroot/$reldir";
die "$relroot/$reldir.tar.gz release file already exists\n" if -e "$relroot/$reldir.tar.gz";
+die "$relroot/$reldir.tar.xz release file already exists\n" if $opts{x} && -e "$relroot/$reldir.tar.xz";
mkdir("$relroot/$reldir", 0755) or die "mkdir $relroot/$reldir: $!\n";
print "\n";