From: Zac Medico Date: Wed, 5 Mar 2008 00:19:16 +0000 (-0000) Subject: Remove redundant CUSTOM_PROFILE_PATH from the PROFILE_PATHS variable so X-Git-Tag: v2.2_pre4~16 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c713f5e193a5f51101de1a4c324c27d06a887cb9;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. svn path=/main/trunk/; revision=9435 --- 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]