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