summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-01 01:36:05 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-01 01:36:05 +0000
commitc7ab666453e4dc4e20ffbcd289a69ae7f2124f01 (patch)
tree605fdf122d3a72b6bed7cf071592f648cd49ea77
parent19dfa06de03d54dfdc75ba5946a03407925e297e (diff)
downloadportage-c7ab666453e4dc4e20ffbcd289a69ae7f2124f01.tar.gz
portage-c7ab666453e4dc4e20ffbcd289a69ae7f2124f01.tar.bz2
portage-c7ab666453e4dc4e20ffbcd289a69ae7f2124f01.zip
Update comments about ROOTPATH:
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
-rw-r--r--pym/portage/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 6606fe8fc..4d75d626a 100644
--- 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