X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=mop%2Fadmin%2Fmo-grab-remote.sh;h=3f1eb7e31d17482ffaf44f8e574c24886937585c;hb=538b950bac4d1f3baea968c5f3a5adb406218f05;hp=6181b4e25b9d78988ca126fbe3ec3f69a6ecd8b3;hpb=fc833e30d9b1315ffdeb780d5257e8e1bdafad43;p=moe.git diff --git a/mop/admin/mo-grab-remote.sh b/mop/admin/mo-grab-remote.sh index 6181b4e..3f1eb7e 100755 --- a/mop/admin/mo-grab-remote.sh +++ b/mop/admin/mo-grab-remote.sh @@ -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 " ; 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:"