summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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=[]