diff options
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/download.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/download.pm b/urpm/download.pm index ccb7b157..d714daa7 100644 --- a/urpm/download.pm +++ b/urpm/download.pm @@ -907,7 +907,7 @@ sub _create_metalink_ { if ($mirror->{connections}) { $metalink .= qq( maxconnections=") . $mirror->{connections} . qq("); } - $metalink .= qq( location=") . lc($mirror->{zone}) . qq(">) . $mirror->{url} . $append . "</url>\n"; + $metalink .= sprintf(qq( location="%s">%s%s</url>\n), lc($mirror->{zone}), $mirror->{url}, $append); } $metalink .= "\t\t</resources>\n"; $metalink .= "\t</file>\n"; |