summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-09 19:40:02 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-09 19:40:02 +0000
commit415fad3bdb942c9a20e5888636184cd73ddda1b5 (patch)
tree153944fb5315d643446ee547c68d8e38abfb0bbc /urpm
parent63ec742f90d027773b6e094890543e4e469c53d1 (diff)
downloadurpmi-415fad3bdb942c9a20e5888636184cd73ddda1b5.tar
urpmi-415fad3bdb942c9a20e5888636184cd73ddda1b5.tar.gz
urpmi-415fad3bdb942c9a20e5888636184cd73ddda1b5.tar.bz2
urpmi-415fad3bdb942c9a20e5888636184cd73ddda1b5.tar.xz
urpmi-415fad3bdb942c9a20e5888636184cd73ddda1b5.zip
cleanup
Diffstat (limited to 'urpm')
-rw-r--r--urpm/parallel_ka_run.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/urpm/parallel_ka_run.pm b/urpm/parallel_ka_run.pm
index 543f197e..2496a917 100644
--- a/urpm/parallel_ka_run.pm
+++ b/urpm/parallel_ka_run.pm
@@ -48,11 +48,11 @@ sub parallel_find_remove {
#- now try an iteration of urpme.
$urpm->{log}("parallel_ka_run: $rshp_command -v $parallel->{options} -- urpme --no-locales --auto $test" . (join ' ', map { "'$_'" } @$l));
open my $fh, "$rshp_command -v $parallel->{options} -- urpme --no-locales --auto $test" . join(' ', map { "'$_'" } @$l) . " 2>&1 |";
- local $_;
- while (<$fh>) {
- my ($node, $s) = _parse_rshp_output($_) or next;
- urpm::parallel::parse_urpme_output($urpm, $state, $node, $s,
+ while (my $s = <$fh>) {
+ my ($node, $s_) = _parse_rshp_output($_) or next;
+
+ urpm::parallel::parse_urpme_output($urpm, $state, $node, $s_,
\%notfound, \%base_to_remove, \%bad_nodes, %options)
or last;
}