aboutsummaryrefslogtreecommitdiffstats
path: root/compress_files
diff options
context:
space:
mode:
authorFunda Wang <fwang@mandriva.org>2010-11-22 01:42:52 +0000
committerFunda Wang <fwang@mandriva.org>2010-11-22 01:42:52 +0000
commitb9b77f98b5dff40e9b354611e5e2a46cd2262400 (patch)
tree69a33dc20414e5584e7a1e0e765b7fb37f72b244 /compress_files
parent3311c0da8b542e80338d68c3db5a134ed0269027 (diff)
downloadspec-helper-b9b77f98b5dff40e9b354611e5e2a46cd2262400.tar
spec-helper-b9b77f98b5dff40e9b354611e5e2a46cd2262400.tar.gz
spec-helper-b9b77f98b5dff40e9b354611e5e2a46cd2262400.tar.bz2
spec-helper-b9b77f98b5dff40e9b354611e5e2a46cd2262400.tar.xz
spec-helper-b9b77f98b5dff40e9b354611e5e2a46cd2262400.zip
xz 5.0 do not support --text option now0.31.4
Diffstat (limited to 'compress_files')
-rwxr-xr-xcompress_files2
1 files changed, 1 insertions, 1 deletions
diff --git a/compress_files b/compress_files
index ef56a43..a5390c2 100755
--- a/compress_files
+++ b/compress_files
@@ -112,7 +112,7 @@ if (@files) {
my @command = $ext eq '.gz' ? qw/gzip -9f/
: $ext eq '.bz2' ? qw/bzip2 -9f/
: $ext eq '.lzma' ? qw/lzma -9f --text/
- : $ext eq '.xz' ? qw/xz -9f --text/
+ : $ext eq '.xz' ? qw/xz -9f/
: qw//
;
xargs(\@files, @command);