From: Zac Medico Date: Sat, 1 Dec 2007 01:34:55 +0000 (-0000) Subject: Update comments about ROOTPATH: X-Git-Tag: v2.2_pre1~260 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=19dfa06de03d54dfdc75ba5946a03407925e297e;p=portage.git 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=8776 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 128a7d6cc..2f015d3a6 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -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