From: Zac Medico Date: Tue, 2 May 2006 06:10:10 +0000 (-0000) Subject: Properly join CUSTOM_MIRRORS_FILE with PORTAGE_CONFIG_ROOT in portage.fetch(). X-Git-Tag: v2.1_rc1~39 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=17e5e2867e7aaf200c798c4706a5fce43fe68a8c;p=portage.git Properly join CUSTOM_MIRRORS_FILE with PORTAGE_CONFIG_ROOT in portage.fetch(). svn path=/main/trunk/; revision=3302 --- 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=[]