summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-05-12 21:40:42 +0000
committerZac Medico <zmedico@gentoo.org>2006-05-12 21:40:42 +0000
commit12bb9694170e7074697eed829e14dd2086368963 (patch)
tree3cc4aabeb52bf1d8abb29443f856a29c0ea08f59
parentef08e4db7221098e84bdd039498278697bf1c208 (diff)
downloadportage-12bb9694170e7074697eed829e14dd2086368963.tar.gz
portage-12bb9694170e7074697eed829e14dd2086368963.tar.bz2
portage-12bb9694170e7074697eed829e14dd2086368963.zip
Make /etc/portage/bashrc relative to PORTAGE_CONFIGROOT.v2.1_rc1
svn path=/main/trunk/; revision=3343
-rw-r--r--pym/portage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index fb7679d59..09aec9786 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -2477,7 +2477,8 @@ def doebuild_environment(myebuild, mydo, myroot, mysettings, debug, use_cache, m
mysettings["D"] = os.path.join(mysettings["PORTAGE_BUILDDIR"], "image") + os.sep
mysettings["T"] = os.path.join(mysettings["PORTAGE_BUILDDIR"], "temp")
- mysettings["PORTAGE_BASHRC"] = EBUILD_SH_ENV_FILE
+ mysettings["PORTAGE_BASHRC"] = os.path.join(
+ mysettings["PORTAGE_CONFIGROOT"], EBUILD_SH_ENV_FILE.lstrip(os.path.sep))
#set up KV variable -- DEP SPEEDUP :: Don't waste time. Keep var persistent.
if (mydo!="depend") or not mysettings.has_key("KV"):