summaryrefslogtreecommitdiffstats
path: root/urpm/download.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-01 11:55:34 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-01 11:55:34 +0000
commit9a26eb1c7b7cce62614466fd0671594ee885e066 (patch)
tree061f853897c81b700fa5168171de81725ae79e95 /urpm/download.pm
parent2e538708ea8ba9d0b7a1ccb9307b44c603edaa90 (diff)
downloadurpmi-9a26eb1c7b7cce62614466fd0671594ee885e066.tar
urpmi-9a26eb1c7b7cce62614466fd0671594ee885e066.tar.gz
urpmi-9a26eb1c7b7cce62614466fd0671594ee885e066.tar.bz2
urpmi-9a26eb1c7b7cce62614466fd0671594ee885e066.tar.xz
urpmi-9a26eb1c7b7cce62614466fd0671594ee885e066.zip
cleanup
Diffstat (limited to 'urpm/download.pm')
-rw-r--r--urpm/download.pm2
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";