From b414c49cec13202c34ea4115f79978ca7177acaf Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 18 Aug 2010 05:07:12 -0700 Subject: [PATCH] Bug #308933 - Export os.path.realpath(PORTAGE_TMPDIR), to make sandbox happy. --- pym/portage/package/ebuild/doebuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py index f77c9a456..32cec8d11 100644 --- a/pym/portage/package/ebuild/doebuild.py +++ b/pym/portage/package/ebuild/doebuild.py @@ -150,7 +150,7 @@ def doebuild_environment(myebuild, mydo, myroot, mysettings, # config.reset() might have reverted a change made by the caller, # so restore it to it's original value. - mysettings["PORTAGE_TMPDIR"] = tmpdir + mysettings["PORTAGE_TMPDIR"] = os.path.realpath(tmpdir) mysettings.pop("EBUILD_PHASE", None) # remove from backupenv mysettings["EBUILD_PHASE"] = mydo -- 2.26.2