svn path=/main/branches/2.1.7/; revision=15144
done
unset x
-# 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
-fi
-
+echo ROOTPATH=$ROOTPATH
ROOTPATH=${ROOTPATH##:}
ROOTPATH=${ROOTPATH%%:}
PREROOTPATH=${PREROOTPATH##:}
mydict.pop("EPREFIX", None)
mydict.pop("EROOT", None)
- # 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
-
return mydict
def thirdpartymirrors(self):