From 30fd75dcfea411165ee14c3774c163f6af45ca10 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 19 Jul 2006 19:56:30 +0000 Subject: [PATCH] Make PORTAGE_TMPDIR cannonical for sandbox before it's exported to the ebuild environment for bug #140436. svn path=/main/trunk/; revision=3952 --- pym/portage.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" -- 2.26.2