]> mj.ucw.cz Git - moe.git/blobdiff - mop/admin/mo-grab-remote.sh
Moving things around, WIP batch tasktype via hooks
[moe.git] / mop / admin / mo-grab-remote.sh
index 6181b4e25b9d78988ca126fbe3ec3f69a6ecd8b3..3f1eb7e31d17482ffaf44f8e574c24886937585c 100755 (executable)
@@ -1,9 +1,10 @@
 #!/bin/bash
+# Grab all submits from the submit server and copy them to solutions/.
 
 [ -n "$1" ] || { echo "Usage: mo-grab-remote <tasks>" ; exit 1 ; }
-[ -f config ] || { echo "Missing config file, check cwd." ; exit 1 ; }
+[ -f cf/mop ] || { echo "Missing config file, check cwd." ; exit 1 ; }
 set -e
-. config
+. cf/mop
 
 for user in `bin/mo-get-users` ; do
        echo -n "$user:"