summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-05-02 06:10:10 +0000
committerZac Medico <zmedico@gentoo.org>2006-05-02 06:10:10 +0000
commit17e5e2867e7aaf200c798c4706a5fce43fe68a8c (patch)
treea0371f20d95487133fe2b94e6e7c7bdd68e37ed1
parent5a9b173d00d74a1b8f646e605cc56a7dd5f3be03 (diff)
downloadportage-17e5e2867e7aaf200c798c4706a5fce43fe68a8c.tar.gz
portage-17e5e2867e7aaf200c798c4706a5fce43fe68a8c.tar.bz2
portage-17e5e2867e7aaf200c798c4706a5fce43fe68a8c.zip
Properly join CUSTOM_MIRRORS_FILE with PORTAGE_CONFIG_ROOT in portage.fetch().
svn path=/main/trunk/; revision=3302
-rw-r--r--pym/portage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 135bd6fac..b5da44373 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -1851,7 +1851,8 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks",
check_config_instance(mysettings)
- custommirrors=grabdict(CUSTOM_MIRRORS_FILE,recursive=1)
+ custommirrors = grabdict(os.path.join(mysettings["PORTAGE_CONFIG_ROOT"],
+ CUSTOM_MIRRORS_FILE.lstrip(os.path.sep)), recursive=1)
mymirrors=[]