From c713f5e193a5f51101de1a4c324c27d06a887cb9 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 5 Mar 2008 00:19:16 +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. svn path=/main/trunk/; revision=9435 --- pym/portage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index ef848bf0d..0560f6c7a 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -3948,7 +3948,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