summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-09 20:37:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-09 20:37:05 +0000
commit7e9a819eb4b4622a6ed282ef33cd2cf1ba334375 (patch)
tree79dfcf4d446dd07d79c35866aa2b000263c1ca7c
parent022b192bb12edab968398019f1fae97245819084 (diff)
downloadurpmi-7e9a819eb4b4622a6ed282ef33cd2cf1ba334375.tar
urpmi-7e9a819eb4b4622a6ed282ef33cd2cf1ba334375.tar.gz
urpmi-7e9a819eb4b4622a6ed282ef33cd2cf1ba334375.tar.bz2
urpmi-7e9a819eb4b4622a6ed282ef33cd2cf1ba334375.tar.xz
urpmi-7e9a819eb4b4622a6ed282ef33cd2cf1ba334375.zip
normalize
-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 dbfecea2..1d846dc9 100644
--- a/urpm/parallel_ssh.pm
+++ b/urpm/parallel_ssh.pm
@@ -190,9 +190,9 @@ sub parallel_install {
$urpm->{log}("parallel_ssh: scp @sources $_:$urpm->{cachedir}/rpms");
if (_localhost($_)) {
my @f = grep { ! m!^$urpm->{cachedir}/rpms! } @sources;
- @f and system 'cp' => @f, "$urpm->{cachedir}/rpms";
+ @f and system('cp', @f, "$urpm->{cachedir}/rpms");
} else {
- system 'scp' => @sources, "$_:$urpm->{cachedir}/rpms";
+ system('scp', @sources, "$_:$urpm->{cachedir}/rpms");
}
$? == 0 or $urpm->{fatal}(1, N("scp failed on host %s (%d)", $_, $? >> 8));
}