summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-03-05 00:19:16 +0000
committerZac Medico <zmedico@gentoo.org>2008-03-05 00:19:16 +0000
commitc713f5e193a5f51101de1a4c324c27d06a887cb9 (patch)
treeeaf8790312408b2f29bd20c2a06330ee600e8535
parentc51ce698b7629cb133550777a8e177d582c4acdc (diff)
downloadportage-c713f5e193a5f51101de1a4c324c27d06a887cb9.tar.gz
portage-c713f5e193a5f51101de1a4c324c27d06a887cb9.tar.bz2
portage-c713f5e193a5f51101de1a4c324c27d06a887cb9.zip
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
-rw-r--r--pym/portage/__init__.py2
1 files changed, 1 insertions, 1 deletions
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]