aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-16 12:13:37 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-16 12:13:37 +0000
commit004c04bf43f7a208b1a93273180aa8754f936912 (patch)
tree3d02571a59f0744b6e30a27b3893676dc9d3adcc
parent008a0e79ba74135f54b40c0eb7f55f834008e5d5 (diff)
downloadpaludis-004c04bf43f7a208b1a93273180aa8754f936912.tar.gz
paludis-004c04bf43f7a208b1a93273180aa8754f936912.tar.xz
Expand mirror:// components that have a path before the filename correctly. Fixes: Berlios#7161. As of now, we are keeping a ChangeLog.
-rw-r--r--paludis/portage_repository.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/portage_repository.cc b/paludis/portage_repository.cc
index 6f0f950..ed64f41 100644
--- a/paludis/portage_repository.cc
+++ b/paludis/portage_repository.cc
@@ -1175,7 +1175,7 @@ PortageRepository::do_install(const QualifiedPackageName & q, const VersionSpec
m(_imp->mirrors.find(mirror.substr(0, q))->second.begin()),
m_end(_imp->mirrors.find(mirror.substr(0, q))->second.end()) ;
m != m_end ; ++m)
- flat_src_uri.append(*m + "/" + (*ff)->text().substr(p + 1) + " ");
+ flat_src_uri.append(*m + "/" + mirror.substr(q + 1) + " ");
}
else
flat_src_uri.append((*ff)->text());