summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 6f6280585..f56dc9485 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -17,13 +17,7 @@ for x in TEMP TMP TMPDIR ; do
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##:}