From: Zac Medico Date: Wed, 19 Jul 2006 19:56:30 +0000 (-0000) Subject: Make PORTAGE_TMPDIR cannonical for sandbox before it's exported to the ebuild environ... X-Git-Tag: v2.1.1~189 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=30fd75dcfea411165ee14c3774c163f6af45ca10;p=portage.git Make PORTAGE_TMPDIR cannonical for sandbox before it's exported to the ebuild environment for bug #140436. svn path=/main/trunk/; revision=3952 --- diff --git a/pym/portage.py b/pym/portage.py index ae3474201..caca14e39 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -2484,7 +2484,9 @@ def doebuild_environment(myebuild, mydo, myroot, mysettings, debug, use_cache, m if PORTAGE_BIN_PATH not in mysplit: mysettings["PATH"]=PORTAGE_BIN_PATH+":"+mysettings["PATH"] - + # Sandbox needs cannonical paths. + mysettings["PORTAGE_TMPDIR"] = os.path.realpath( + mysettings["PORTAGE_TMPDIR"]) mysettings["BUILD_PREFIX"] = mysettings["PORTAGE_TMPDIR"]+"/portage" mysettings["PKG_TMPDIR"] = mysettings["PORTAGE_TMPDIR"]+"/binpkgs"