summaryrefslogtreecommitdiffstats
path: root/urpm/parallel_ssh.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-02-17 14:09:53 +0000
committerFrancois Pons <fpons@mandriva.com>2003-02-17 14:09:53 +0000
commit8f681a2b3f94d5d5ff2b504b6df9e61a4af655f2 (patch)
tree5557d9df12de25e54c8227c46bbfb8f3f0d0dcf7 /urpm/parallel_ssh.pm
parentaa492ca5d06c7a5589b49f30e12b33d0ddd91bdc (diff)
downloadurpmi-8f681a2b3f94d5d5ff2b504b6df9e61a4af655f2.tar
urpmi-8f681a2b3f94d5d5ff2b504b6df9e61a4af655f2.tar.gz
urpmi-8f681a2b3f94d5d5ff2b504b6df9e61a4af655f2.tar.bz2
urpmi-8f681a2b3f94d5d5ff2b504b6df9e61a4af655f2.tar.xz
urpmi-8f681a2b3f94d5d5ff2b504b6df9e61a4af655f2.zip
fixed strange error on ssh not invoked on distant node.
Diffstat (limited to 'urpm/parallel_ssh.pm')
-rw-r--r--urpm/parallel_ssh.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/parallel_ssh.pm b/urpm/parallel_ssh.pm
index f5c29405..daebd70e 100644
--- a/urpm/parallel_ssh.pm
+++ b/urpm/parallel_ssh.pm
@@ -207,11 +207,11 @@ sub parallel_install {
$urpm->{error}(_("Installation is possible"));
1;
} else {
- my $line = $parallel->{line} . ($options{excludepath} ? " --excludepath '$options{excludepath}'" : "");
+ my $line = $parallel->{line} . ($options{excludepath} ? " --excludepath $options{excludepath}" : "");
#- continue installation on each nodes.
foreach my $node (keys %{$parallel->{nodes}}) {
$urpm->{log}("parallel_ssh: ssh $node urpmi --no-locales --no-verify-rpm --auto --synthesis $parallel->{synthesis} $line");
- system "ssh $node urpmi --no-locales --no-verify-rpm --auto --synthesis $parallel->{synthesis} $line" == 0;
+ system split " ", "ssh $node urpmi --no-locales --no-verify-rpm --auto --synthesis $parallel->{synthesis} $line";
}
}
}