From: Zac Medico Date: Sat, 1 Dec 2007 00:46:38 +0000 (-0000) Subject: Fix quoting for PORTAGE_ROOTPATH. (trunk r8774) X-Git-Tag: v2.1.4~161 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7024dc5fe579d192ce5f672de2ddd5b00a939931;p=portage.git Fix quoting for PORTAGE_ROOTPATH. (trunk r8774) svn path=/main/branches/2.1.2/; revision=8775 --- 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