guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

93/376: nix-copy-closure: Implement --gzip via ssh's -C flag


From: Ludovic Courtès
Subject: 93/376: nix-copy-closure: Implement --gzip via ssh's -C flag
Date: Wed, 28 Jan 2015 22:04:16 +0000

civodul pushed a commit to tag 1.8
in repository guix.

commit 7f7d4ab68649b2f5530143e8cfa95fc785ae9937
Author: Eelco Dolstra <address@hidden>
Date:   Thu Jul 24 16:32:55 2014 +0200

    nix-copy-closure: Implement --gzip via ssh's -C flag
---
 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 3dde6e1..6964f2d 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";



reply via email to

[Prev in Thread] Current Thread [Next in Thread]