From 35b0788b4b94749c8448b2f258fbb89e4e72f2a5 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 1 Dec 2007 01:38:04 +0000 Subject: Update comments about ROOTPATH: 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 --- bin/ebuild.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/ebuild.sh') 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 -- cgit v1.2.3-1-g7c22