From: Zac Medico Date: Fri, 28 Mar 2008 11:46:29 +0000 (-0000) Subject: Remove redundant CUSTOM_PROFILE_PATH from the PROFILE_PATHS variable so X-Git-Tag: v2.1.5~342 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5d7bd8a7dc9d2ff2689727e6aa4ac4fca4ec4bcd;p=portage.git Remove redundant CUSTOM_PROFILE_PATH from the PROFILE_PATHS variable so that /etc/portage/profile/profile.bashrc will only be sourced once if it exists. (trunk r9435) svn path=/main/branches/2.1.2/; revision=9548 --- diff --git a/pym/portage.py b/pym/portage.py index 842bc7151..40156ca34 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -3932,7 +3932,7 @@ def doebuild_environment(myebuild, mydo, myroot, mysettings, debug, use_cache, m mysettings["ECLASSDIR"] = mysettings["PORTDIR"]+"/eclass" mysettings["SANDBOX_LOG"] = mycpv.replace("/", "_-_") - mysettings["PROFILE_PATHS"] = "\n".join(mysettings.profiles)+"\n"+CUSTOM_PROFILE_PATH + mysettings["PROFILE_PATHS"] = "\n".join(mysettings.profiles) mysettings["P"] = mysplit[0]+"-"+mysplit[1] mysettings["PN"] = mysplit[0] mysettings["PV"] = mysplit[1]