diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-24 16:32:55 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-24 16:32:55 +0200 |
commit | 7f7d4ab68649b2f5530143e8cfa95fc785ae9937 (patch) | |
tree | 917c281a7940678e20ae4d012b6325845c0c8b1c /scripts | |
parent | 17ef2346723b96080cc912da646df4f6424e83fa (diff) |
nix-copy-closure: Implement --gzip via ssh's -C flag
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/nix-copy-closure.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/nix-copy-closure.in b/scripts/nix-copy-closure.in index 3dde6e157..6964f2d47 100755 --- a/scripts/nix-copy-closure.in +++ b/scripts/nix-copy-closure.in @@ -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"; |