forked from lix-project/lix
nix-copy-closure: Implement --gzip via ssh's -C flag
This commit is contained in:
parent
17ef234672
commit
7f7d4ab686
|
@ -41,8 +41,7 @@ while (@ARGV) {
|
|||
$sign = 1;
|
||||
}
|
||||
elsif ($arg eq "--gzip") {
|
||||
$compressor = "gzip";
|
||||
$decompressor = "gzip -d";
|
||||
push @globalSshOpts, "-C";
|
||||
}
|
||||
elsif ($arg eq "--bzip2") {
|
||||
$compressor = "bzip2";
|
||||
|
|
Loading…
Reference in a new issue