From: Zac Medico Date: Sat, 1 Dec 2007 00:46:01 +0000 (-0000) Subject: Fix quoting for PORTAGE_ROOTPATH. X-Git-Tag: v2.2_pre1~261 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=578e971e967dd1c26a3cced9bfcf3daa6dd7dabb;p=portage.git Fix quoting for PORTAGE_ROOTPATH. svn path=/main/trunk/; revision=8774 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index bf9716acb..128a7d6cc 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -16,7 +16,7 @@ export SANDBOX_READ="${SANDBOX_READ}:/dev/shm:/dev/stdin:${PORTAGE_TMPDIR}" unset BASH_ENV # sandbox unsets ROOTPATH, so we have to back it up and restore it. -if [ -n ${PORTAGE_ROOTPATH} ] ; then +if [ -n "${PORTAGE_ROOTPATH}" ] ; then export ROOTPATH=${PORTAGE_ROOTPATH} unset PORTAGE_ROOTPATH fi