diff options
author | Nicolas R <atoomic@cpan.org> | 2020-06-05 12:08:25 -0600 |
---|---|---|
committer | Nicolas R <nicolas@atoomic.org> | 2020-07-30 15:53:50 -0600 |
commit | 738b83d11b4491f39158205fa0da4a726367c8d6 (patch) | |
tree | 9484ad447498d29b866d22df1b728b38c1a26618 /Porting/makerel | |
parent | a02b1ce42824d24fab534e93f0a72294c0b6b341 (diff) | |
download | perl-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-x | Porting/makerel | 1 |
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"; |