From 8f681a2b3f94d5d5ff2b504b6df9e61a4af655f2 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Mon, 17 Feb 2003 14:09:53 +0000 Subject: fixed strange error on ssh not invoked on distant node. --- urpm/parallel_ssh.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'urpm') 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"; } } } -- cgit v1.2.1