]> mj.ucw.cz Git - eval.git/commitdiff
MO-P: Bugfix
authorroot <root@ceoi01.(none)>
Mon, 29 Jun 2015 15:25:21 +0000 (17:25 +0200)
committerroot <root@ceoi01.(none)>
Mon, 29 Jun 2015 15:25:21 +0000 (17:25 +0200)
mop/admin/mo-upload-contestants.sh

index 64fe1331982a1f84b47e002822a6251bb61362fa..963155faa37dda004c7375a145a94a541d12fbbe 100644 (file)
@@ -2,6 +2,7 @@
 # Upload home directories of contestants
 # Assumes that /nfs/export at workstations points to /export of the caller
 
+[ -f cf/mop ] || { echo "Missing config file, check cwd." ; exit 1 ; }
 set -e
 . cf/mop
 ( cd $MO_ROOT && tar cavvf /export/users.tar.gz users)