summaryrefslogtreecommitdiffstats
path: root/urpm/parallel_ssh.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/parallel_ssh.pm')
-rw-r--r--urpm/parallel_ssh.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/urpm/parallel_ssh.pm b/urpm/parallel_ssh.pm
index a1553b3a..2aaea7c7 100644
--- a/urpm/parallel_ssh.pm
+++ b/urpm/parallel_ssh.pm
@@ -35,10 +35,10 @@ sub parallel_register_rpms {
}
#- keep trace of direct files.
- foreach (@files) {
- my $basename = basename($_);
- $parallel->{line} .= "'$urpm->{cachedir}/rpms/$basename' ";
- }
+ $parallel->{line} .=
+ join(' ',
+ map { "'$_'" }
+ map { "$urpm->{cachedir}/rpms/" . basename($_) } @files);
}
#- parallel find_packages_to_remove