summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-04-24 12:37:49 +0000
committerZac Medico <zmedico@gentoo.org>2006-04-24 12:37:49 +0000
commitd47b1765b31b94e809835116e1bc338179eea4ef (patch)
tree76e231b344289e9be3d619a0cee170a0f08c0e97
parent3ef8c6befc4b5a32426f85dd103663d703aac063 (diff)
downloadportage-d47b1765b31b94e809835116e1bc338179eea4ef.tar.gz
portage-d47b1765b31b94e809835116e1bc338179eea4ef.tar.bz2
portage-d47b1765b31b94e809835116e1bc338179eea4ef.zip
Use local myroot instead of portage.root global.
svn path=/main/trunk/; revision=3212
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index a707acd56..a6f2b5803 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -2319,7 +2319,7 @@ def doebuild_environment(myebuild, mydo, myroot, mysettings, debug, use_cache, m
#set up KV variable -- DEP SPEEDUP :: Don't waste time. Keep var persistent.
if (mydo!="depend") or not mysettings.has_key("KV"):
- mykv,err1=ExtractKernelVersion(root+"usr/src/linux")
+ mykv,err1=ExtractKernelVersion(os.path.join(myroot, "usr/src/linux"))
if mykv:
# Regular source tree
mysettings["KV"]=mykv