From 20b212f6836cf596f9055cefcb06948a599e875b Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Tue, 6 Dec 2005 14:45:25 +0000 Subject: Fix compilation warning --- urpm/download.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm/download.pm') 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 .= $_; -- cgit v1.2.1