From 5d7bd8a7dc9d2ff2689727e6aa4ac4fca4ec4bcd Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 28 Mar 2008 11:46:29 +0000 Subject: [PATCH] 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 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- 2.26.2