diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-28 15:21:18 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-28 15:21:18 -0500 |
commit | 8eaf0770e396efa4bb254c7e62e4940682817589 (patch) | |
tree | a42de26c3c3c089025540a134393725414ee122e | |
parent | 00d67a5051e5d4163acffa80b7ef85f81f7e548f (diff) |
libretools.conf: force CHROOT != root
-rw-r--r-- | src/libretools.conf | 4 |
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 |