diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-09-04 07:31:00 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-09-04 07:31:00 +0000 |
commit | b39c0519989af0611ae217b01c026e8e158b101a (patch) | |
tree | d3911e53a368a272c9f83d433ffbf834b1cee84c /urpm/download.pm | |
parent | 777bbe353113122fb9a47e78da9c9ef467def535 (diff) | |
download | urpmi-b39c0519989af0611ae217b01c026e8e158b101a.tar urpmi-b39c0519989af0611ae217b01c026e8e158b101a.tar.gz urpmi-b39c0519989af0611ae217b01c026e8e158b101a.tar.bz2 urpmi-b39c0519989af0611ae217b01c026e8e158b101a.tar.xz urpmi-b39c0519989af0611ae217b01c026e8e158b101a.zip |
simplify
Diffstat (limited to 'urpm/download.pm')
-rw-r--r-- | urpm/download.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/download.pm b/urpm/download.pm index 8dcdff3d..47e25a75 100644 --- a/urpm/download.pm +++ b/urpm/download.pm @@ -913,11 +913,11 @@ sub _create_one_metalink_line { # } # Supported in metalinks, but no longer used in mirror list..? if ($mirror->{connections}) { - push @options, qq(maxconnections=") . $mirror->{connections} . qq("); + push @options, qq(maxconnections="$mirror->{connections}"); } push @options, 'location="' . lc($mirror->{zone}) . '"'; my $base = urpm::mirrors::_add__with_dir($mirror->{url}, $medium->{'with-dir'}); - sprintf(qq(<url %s>%s/%s</url>), join(' ', @options), $base, $rel_file); + sprintf('<url %s>%s/%s</url>', join(' ', @options), $base, $rel_file); } sub _create_metalink_ { |