utils: Fix handling of shell arguments for xz compression.
Fixes test failures related to xz compression in tests/utils.scm.
This is a followup to commit 63102406f2
.
* guix/utils.scm (decompressed-port, compressed-port, compressed-output-port):
Split each shell argument into its own list element.
This commit is contained in:
parent
f49ced6827
commit
6c17422eac
|
@ -155,7 +155,7 @@ a symbol such as 'xz."
|
|||
(match compression
|
||||
((or #f 'none) (values input '()))
|
||||
('bzip2 (filtered-port `(,%bzip2 "-dc") input))
|
||||
('xz (filtered-port `(,%xz "-dc -T0") input))
|
||||
('xz (filtered-port `(,%xz "-dc" "-T0") input))
|
||||
('gzip (filtered-port `(,%gzip "-dc") input))
|
||||
(else (error "unsupported compression scheme" compression))))
|
||||
|
||||
|
@ -165,7 +165,7 @@ a symbol such as 'xz."
|
|||
(match compression
|
||||
((or #f 'none) (values input '()))
|
||||
('bzip2 (filtered-port `(,%bzip2 "-c") input))
|
||||
('xz (filtered-port `(,%xz "-c -T0") input))
|
||||
('xz (filtered-port `(,%xz "-c" "-T0") input))
|
||||
('gzip (filtered-port `(,%gzip "-c") input))
|
||||
(else (error "unsupported compression scheme" compression))))
|
||||
|
||||
|
@ -222,7 +222,7 @@ program--e.g., '(\"--fast\")."
|
|||
(match compression
|
||||
((or #f 'none) (values output '()))
|
||||
('bzip2 (filtered-output-port `(,%bzip2 "-c" ,@options) output))
|
||||
('xz (filtered-output-port `(,%xz "-c -T0" ,@options) output))
|
||||
('xz (filtered-output-port `(,%xz "-c" "-T0" ,@options) output))
|
||||
('gzip (filtered-output-port `(,%gzip "-c" ,@options) output))
|
||||
(else (error "unsupported compression scheme" compression))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue