Commit 4aea12cc authored by Russ Fish's avatar Russ Fish
Browse files

Use 'gzip' for .Z files instead of 'compress', since it understands the LZW...

Use 'gzip' for .Z files instead of 'compress', since it understands the LZW format and is present on more platforms.
parent a97ccad3
......@@ -344,7 +344,7 @@ push(@identlines, "$tarfile $filestamp $filemd5 $installdir");
# Figure what decompression flag is required, based on file extension.
#
SWITCH: for ($tarfile) {
/^.*\.tar\.Z$/ && do {$decompressflag = "-Z"; last SWITCH; } ;
/^.*\.tar\.Z$/ && do {$decompressflag = "-z"; last SWITCH; } ;
/^.*\.tar\.gz$/ && do {$decompressflag = "-z"; last SWITCH; } ;
/^.*\.tgz$/ && do {$decompressflag = "-z"; last SWITCH; } ;
/^.*\.tar\.bz2$/ && do {$decompressflag = "-j"; last SWITCH; } ;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment