]> mj.ucw.cz Git - eval.git/blobdiff - public/status
Added configuration file for libucw modules.
[eval.git] / public / status
old mode 100644 (file)
new mode 100755 (executable)
index a8c81f1..9e795dc
@@ -1,3 +1,4 @@
+#!/bin/bash
 # The Evaluator -- Public Status Script
 # (c) 2004 Martin Mares <mj@ucw.cz>
 
@@ -10,6 +11,10 @@ set -e
 
 echo -e "Submitted tasks:\n"
 
+if [ -n "$REMOTE_SUBMIT" ] ; then
+       exec $MO_ROOT/bin/remote-status
+fi
+
 for PROBLEM in `cd $MO_ROOT/problems/ ; echo *` ; do
        (
        PDIR=$MO_ROOT/problems/$PROBLEM