Fix quoting for PORTAGE_ROOTPATH. (trunk r8774)
authorZac Medico <zmedico@gentoo.org>
Sat, 1 Dec 2007 00:46:38 +0000 (00:46 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 1 Dec 2007 00:46:38 +0000 (00:46 -0000)
svn path=/main/branches/2.1.2/; revision=8775

bin/ebuild.sh

index bf9716acb124106348350e1f2f3c7256feb81347..128a7d6cc45bbf008f7e796bac2265657c80c64e 100755 (executable)
@@ -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