diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-12-24 04:39:45 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-12-24 04:39:45 +0000 |
commit | 93705d01bfd5a5091aa793132aec7b6ff4b7f9e7 (patch) | |
tree | 174bf3fa0034b558b07a10bf516dcf2bc9844c44 /bin/ebuild.sh | |
parent | Bug #297933: Filter BASHOPTS variable for compatibility with bash-4.1. (diff) | |
download | portage-idfetch-93705d01bfd5a5091aa793132aec7b6ff4b7f9e7.tar.gz portage-idfetch-93705d01bfd5a5091aa793132aec7b6ff4b7f9e7.tar.bz2 portage-idfetch-93705d01bfd5a5091aa793132aec7b6ff4b7f9e7.zip |
Remove obsolete backing up of ROOTPATH via PORTAGE_ROOTPATH.
svn path=/main/trunk/; revision=15143
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-x | bin/ebuild.sh | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 6f628058..f56dc948 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##:} |