From: root Date: Mon, 29 Jun 2015 15:25:21 +0000 (+0200) Subject: MO-P: Bugfix X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=2e672447a48106a49ae5083bf68c4c260691e343;p=eval.git MO-P: Bugfix --- diff --git a/mop/admin/mo-upload-contestants.sh b/mop/admin/mo-upload-contestants.sh index 64fe133..963155f 100644 --- a/mop/admin/mo-upload-contestants.sh +++ b/mop/admin/mo-upload-contestants.sh @@ -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)