# (c) 2001--2004 Martin Mares <mj@ucw.cz>
set -e
-[ -n "$MO_PUBLIC" -a -d "$MO_PUBLIC" ] || { echo >&2 "MO_PUBLIC not set, giving up." ; exit 1 ; }
-. $MO_PUBLIC/bin/lib
-. $MO_PUBLIC/config
+[ -n "$MO_ROOT" -a -d "$MO_ROOT" ] || { echo >&2 "MO_ROOT not set, giving up." ; exit 1 ; }
+. $MO_ROOT/bin/lib
+. $MO_ROOT/config
FORCE=0
if [ "$1" = --force ] ; then
pend "TESTS FAILED, but --force given, so submitting anyway."
else
pend "TESTS FAILED. Nothing has been submitted!"
- pend "Use submit --force if you really want to submit a WRONG solution."
+ pend "Use submit --force if you really want to submit an obviously WRONG solution."
exit 1
fi
fi