diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-12-01 01:38:04 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-12-01 01:38:04 +0000 |
commit | 35b0788b4b94749c8448b2f258fbb89e4e72f2a5 (patch) | |
tree | bfd198ad3b76dfe5e07f78e32d3e13e051071775 /pym/portage.py | |
parent | 7024dc5fe579d192ce5f672de2ddd5b00a939931 (diff) | |
download | portage-35b0788b4b94749c8448b2f258fbb89e4e72f2a5.tar.gz portage-35b0788b4b94749c8448b2f258fbb89e4e72f2a5.tar.bz2 portage-35b0788b4b94749c8448b2f258fbb89e4e72f2a5.zip |
Update comments about ROOTPATH:
sandbox's bashrc sources /etc/profile which unsets ROOTPATH,
so we have to back it up and restore it. (trunk r8775:8777)
svn path=/main/branches/2.1.2/; revision=8778
Diffstat (limited to 'pym/portage.py')
-rw-r--r-- | pym/portage.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py index db3a415ad..ee39a537d 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -2565,7 +2565,8 @@ class config: 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 |