]> mj.ucw.cz Git - eval.git/blobdiff - public/check
Reworked the installation machinery.
[eval.git] / public / check
index ce9a86b9453622b16e15d7d7278a943dc02aef6e..be2f99fc0479ac29ce63fe5420fd69cade4854f4 100644 (file)
@@ -2,9 +2,9 @@
 # (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
 
 [ -n "$1" ] || die "Usage: check <problem> [<test-number>]"
 PROBLEM=$1