X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=public%2Fsubmit;h=eaab532b524a7bab3b7e4b8db009cc1ca0f2e2c9;hb=e94bb0f9c6473da7c8688443c6e013465948fb49;hp=7b077240b9daa2cd6950b6e10dd06d5a5ba76d30;hpb=0ef7fd9921eb6018b54793ced6592d15979edbc0;p=moe.git diff --git a/public/submit b/public/submit index 7b07724..eaab532 100644 --- a/public/submit +++ b/public/submit @@ -2,9 +2,9 @@ # (c) 2001--2004 Martin Mares 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 @@ -53,7 +53,7 @@ if [ $FAILED != 0 ] ; 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