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
# environment by modifying our PATH.
unset BASH_ENV
-# 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.
if [ -n "${PORTAGE_ROOTPATH}" ] ; then
export ROOTPATH=${PORTAGE_ROOTPATH}
unset PORTAGE_ROOTPATH
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