summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-18 05:07:12 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-18 05:07:12 -0700
commitb414c49cec13202c34ea4115f79978ca7177acaf (patch)
tree8a575795636510b0c98c3b8bd9fabb14a31e9166
parent0b91500aec453573f83bbca879767e189d87b8e4 (diff)
downloadportage-b414c49cec13202c34ea4115f79978ca7177acaf.tar.gz
portage-b414c49cec13202c34ea4115f79978ca7177acaf.tar.bz2
portage-b414c49cec13202c34ea4115f79978ca7177acaf.zip
Bug #308933 - Export os.path.realpath(PORTAGE_TMPDIR), to make sandbox
happy.
-rw-r--r--pym/portage/package/ebuild/doebuild.py2
1 files changed, 1 insertions, 1 deletions
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