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

bin/ebuild.sh

index 128a7d6cc45bbf008f7e796bac2265657c80c64e..2f015d3a696860d75f765e278dd152ff2bc5f139 100755 (executable)
@@ -15,7 +15,8 @@ export SANDBOX_READ="${SANDBOX_READ}:/dev/shm:/dev/stdin:${PORTAGE_TMPDIR}"
 # 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