summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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