projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b68c791
)
Make PORTAGE_TMPDIR cannonical for sandbox before it's exported to the ebuild environ...
author
Zac Medico
<zmedico@gentoo.org>
Wed, 19 Jul 2006 19:56:30 +0000
(19:56 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 19 Jul 2006 19:56:30 +0000
(19:56 -0000)
svn path=/main/trunk/; revision=3952
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index ae34742015d9bf653a11945a7cf9c7543d5a73b9..caca14e39a55b4c405fa99828e0d22a12eb035b9 100644
(file)
--- 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"