diff options
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_ { |