From: Zac Medico Date: Mon, 24 Apr 2006 12:37:49 +0000 (-0000) Subject: Use local myroot instead of portage.root global. X-Git-Tag: v2.1_pre10~62 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d47b1765b31b94e809835116e1bc338179eea4ef;p=portage.git Use local myroot instead of portage.root global. svn path=/main/trunk/; revision=3212 --- 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