Bug #308933 - Export os.path.realpath(PORTAGE_TMPDIR), to make sandbox
authorZac Medico <zmedico@gentoo.org>
Wed, 18 Aug 2010 12:07:12 +0000 (05:07 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 18 Aug 2010 12:07:12 +0000 (05:07 -0700)
happy.

pym/portage/package/ebuild/doebuild.py

index f77c9a4566a24c00f16842b305a0c2030ecb7e04..32cec8d11bcc9abf4e8ddabc60a7a7d915f55367 100644 (file)
@@ -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