summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-01 00:46:01 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-01 00:46:01 +0000
commit578e971e967dd1c26a3cced9bfcf3daa6dd7dabb (patch)
treefc7a8da0a540326e2432ca3205e7bdf3857b57ea /bin
parenta8da09f525b49ac9e4a584331c90987a400aff7a (diff)
downloadportage-578e971e967dd1c26a3cced9bfcf3daa6dd7dabb.tar.gz
portage-578e971e967dd1c26a3cced9bfcf3daa6dd7dabb.tar.bz2
portage-578e971e967dd1c26a3cced9bfcf3daa6dd7dabb.zip
Fix quoting for PORTAGE_ROOTPATH.
svn path=/main/trunk/; revision=8774
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
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