From c7ab666453e4dc4e20ffbcd289a69ae7f2124f01 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 1 Dec 2007 01:36:05 +0000 Subject: 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 --- pym/portage/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-1-g7c22