summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-03-28 11:46:29 +0000
committerZac Medico <zmedico@gentoo.org>2008-03-28 11:46:29 +0000
commit5d7bd8a7dc9d2ff2689727e6aa4ac4fca4ec4bcd (patch)
treea2ff53d267abc137227369b65a090e3c318128dc /pym
parentb72320fe4e815f7818560d076138a95dda56a46d (diff)
downloadportage-5d7bd8a7dc9d2ff2689727e6aa4ac4fca4ec4bcd.tar.gz
portage-5d7bd8a7dc9d2ff2689727e6aa4ac4fca4ec4bcd.tar.bz2
portage-5d7bd8a7dc9d2ff2689727e6aa4ac4fca4ec4bcd.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. (trunk r9435) svn path=/main/branches/2.1.2/; revision=9548
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
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]