From e6c44d166a63abe95a02382386246acea8757951 Mon Sep 17 00:00:00 2001 From: LluĂ­s Batlle i Rossell Date: Wed, 1 May 2013 22:44:37 +0400 Subject: Fixing the pv position regarding compression Problem noticed by niksnut. --- scripts/nix-copy-closure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/nix-copy-closure.in b/scripts/nix-copy-closure.in index fa7082f327f7..9536ee84d89b 100755 --- a/scripts/nix-copy-closure.in +++ b/scripts/nix-copy-closure.in @@ -121,7 +121,7 @@ else { # Copy FROM the remote machine. $decompressor = "$decompressor |" if $decompressor ne ""; $progressViewer = "$progressViewer -s $missingSize |" if $progressViewer ne ""; my $extraOpts = $sign ? "--sign" : ""; - system("set -f; ssh $sshHost @sshOpts 'nix-store --export $extraOpts @missing $compressor' | $progressViewer $decompressor $Nix::Config::binDir/nix-store --import > /dev/null") == 0 + system("set -f; ssh $sshHost @sshOpts 'nix-store --export $extraOpts @missing $compressor' | $decompressor $progressViewer $Nix::Config::binDir/nix-store --import > /dev/null") == 0 or die "copying store paths from remote machine `$sshHost' failed: $?"; } } -- cgit 1.4.1