summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-01 01:34:55 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-01 01:34:55 +0000
commit19dfa06de03d54dfdc75ba5946a03407925e297e (patch)
tree2e16ad9a72d2e1f88d043634fd379020076f7882 /bin
parent578e971e967dd1c26a3cced9bfcf3daa6dd7dabb (diff)
downloadportage-19dfa06de03d54dfdc75ba5946a03407925e297e.tar.gz
portage-19dfa06de03d54dfdc75ba5946a03407925e297e.tar.bz2
portage-19dfa06de03d54dfdc75ba5946a03407925e297e.zip
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
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh3
1 files changed, 2 insertions, 1 deletions
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