parent
a79e56de68
commit
f1adf4c998
2 changed files with 8 additions and 8 deletions
|
@ -74,13 +74,13 @@ die "$0: you did not specify a host name\n" unless defined $sshHost;
|
|||
|
||||
if ($toMode) { # Copy TO the remote machine.
|
||||
Nix::CopyClosure::copyTo(
|
||||
$sshHost, [ @sshOpts ], [ @storePaths ],
|
||||
$sshHost, [ @storePaths ],
|
||||
$includeOutputs, $dryRun, $sign, $useSubstitutes);
|
||||
}
|
||||
|
||||
else { # Copy FROM the remote machine.
|
||||
|
||||
my ($from, $to) = connectToRemoteNix($sshHost, [ @sshOpts ]);
|
||||
my ($from, $to) = connectToRemoteNix($sshHost);
|
||||
|
||||
# Query the closure of the given store paths on the remote
|
||||
# machine. Paths are assumed to be store paths; there is no
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue