diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-09-01 11:55:34 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-09-01 11:55:34 +0000 |
commit | 9a26eb1c7b7cce62614466fd0671594ee885e066 (patch) | |
tree | 061f853897c81b700fa5168171de81725ae79e95 | |
parent | 2e538708ea8ba9d0b7a1ccb9307b44c603edaa90 (diff) | |
download | urpmi-9a26eb1c7b7cce62614466fd0671594ee885e066.tar urpmi-9a26eb1c7b7cce62614466fd0671594ee885e066.tar.gz urpmi-9a26eb1c7b7cce62614466fd0671594ee885e066.tar.bz2 urpmi-9a26eb1c7b7cce62614466fd0671594ee885e066.tar.xz urpmi-9a26eb1c7b7cce62614466fd0671594ee885e066.zip |
cleanup
-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"; |