projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19dfa06
)
Update comments about ROOTPATH:
author
Zac Medico
<zmedico@gentoo.org>
Sat, 1 Dec 2007 01:36:05 +0000
(
01:36
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 1 Dec 2007 01:36:05 +0000
(
01:36
-0000)
sandbox's bashrc sources /etc/profile which unsets ROOTPATH,
so we have to back it up and restore it
svn path=/main/trunk/; revision=8777
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 6606fe8fce746f26dd6f88c07324f5a6a89d4dbb..4d75d626a522b7d85e12b22574cebeb7787f6ae8 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-2579,7
+2579,8
@@
class config(object):
if v is not None:
mydict[k] = v
- # sandbox unsets ROOTPATH, so we have to back it up and restore it.
+ # sandbox's bashrc sources /etc/profile which unsets ROOTPATH,
+ # so we have to back it up and restore it.
rootpath = mydict.get("ROOTPATH")
if rootpath:
mydict["PORTAGE_ROOTPATH"] = rootpath