3 [ -n "$1" ] || { echo "Usage: mo-grab <tasks>" ; exit 1 ; }
4 [ -f config ] || { echo "Missing config file, check cwd." ; exit 1 ; }
8 for user in `bin/mo-get-users` ; do
10 H=`eval echo ~$user`/.submit
12 [ -d solutions/$user ] || mkdir -p solutions/$user
14 rm -rf solutions/$user/$t
15 if [ -d $H/$t ] ; then
17 cp -dr $H/$t solutions/$user/$t
25 chown -R $EVAL_USER solutions
26 chmod -R a+r solutions