summaryrefslogtreecommitdiff
path: root/src/libretools.conf
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-11-28 15:21:18 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-11-28 15:21:18 -0500
commit8eaf0770e396efa4bb254c7e62e4940682817589 (patch)
treea42de26c3c3c089025540a134393725414ee122e /src/libretools.conf
parent00d67a5051e5d4163acffa80b7ef85f81f7e548f (diff)
libretools.conf: force CHROOT != root
Diffstat (limited to 'src/libretools.conf')
-rw-r--r--src/libretools.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libretools.conf b/src/libretools.conf
index 631ca89..4157006 100644
--- a/src/libretools.conf
+++ b/src/libretools.conf
@@ -130,6 +130,10 @@ for VAR in CHROOTDIR CHROOT PARABOLAHOST LIBREDESTDIR \
ret=1
fi
done
+if [[ $CHROOT == root ]]; then
+ echo "Configured var CHROOT cannot equal 'root'"
+ ret=1
+fi
if [[ $ret != 0 ]]; then
exit 1
fi