Update comments about ROOTPATH:
authorZac Medico <zmedico@gentoo.org>
Sat, 1 Dec 2007 01:36:05 +0000 (01:36 -0000)
committerZac 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

index 6606fe8fce746f26dd6f88c07324f5a6a89d4dbb..4d75d626a522b7d85e12b22574cebeb7787f6ae8 100644 (file)
@@ -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