summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-12-06 14:45:25 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-12-06 14:45:25 +0000
commit20b212f6836cf596f9055cefcb06948a599e875b (patch)
treeced064e920508ac62dbef33a971e3be4fa5372d3 /urpm
parent4694b225b75f066ca3547d633371991d32afdfe2 (diff)
downloadurpmi-20b212f6836cf596f9055cefcb06948a599e875b.tar
urpmi-20b212f6836cf596f9055cefcb06948a599e875b.tar.gz
urpmi-20b212f6836cf596f9055cefcb06948a599e875b.tar.bz2
urpmi-20b212f6836cf596f9055cefcb06948a599e875b.tar.xz
urpmi-20b212f6836cf596f9055cefcb06948a599e875b.zip
Fix compilation warning
Diffstat (limited to 'urpm')
-rw-r--r--urpm/download.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/download.pm b/urpm/download.pm
index d3fa62ea..c703cf39 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -226,7 +226,7 @@ sub sync_wget {
'-P', $options->{dir},
@_
) . " |";
- my $wget_pid = open my $wget, $wget_command;
+ my $wget_pid = open my($wget), $wget_command;
local $/ = \1; #- read input by only one char, this is slow but very nice (and it works!).
while (<$wget>) {
$buf .= $_;