]> mj.ucw.cz Git - moe.git/commitdiff
Set MO_ROOT only if isn't already set.
authorMartin Mares <mj@ucw.cz>
Sun, 10 Jun 2007 10:57:27 +0000 (12:57 +0200)
committerMartin Mares <mj@ucw.cz>
Sun, 10 Jun 2007 10:57:27 +0000 (12:57 +0200)
config

diff --git a/config b/config
index bc8260a2fc0d43a6088292d8abda998802434e90..ba37efce143a516dfd047f20dd7aca70bb91446d 100644 (file)
--- a/config
+++ b/config
@@ -2,7 +2,9 @@
 # (c) 2001--2007 Martin Mares <mj@ucw.cz>
 
 # The root of the whole directory hierarchy
-MO_ROOT=/aux/mo
+if [ -z "$MO_ROOT" ] ; then
+       MO_ROOT=/aux/mo
+fi
 
 # User and group used by the evaluator itself
 EVAL_USER=mo-eval