From: Zac Medico Date: Wed, 18 Aug 2010 12:07:12 +0000 (-0700) Subject: Bug #308933 - Export os.path.realpath(PORTAGE_TMPDIR), to make sandbox X-Git-Tag: v2.2_rc68~111 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=b414c49cec13202c34ea4115f79978ca7177acaf;p=portage.git Bug #308933 - Export os.path.realpath(PORTAGE_TMPDIR), to make sandbox happy. --- 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