3 [ -n "$1" ] || { echo "Usage: mo-ev-inc [--force] <tasks>" ; exit 1 ; }
6 if [ "$1" == --force ] ; then
10 for user in `bin/mo-get-users` ; do
12 echo -n "$user/$task: "
13 if [ -d solutions/$user/$task ] ; then
14 N=`cd solutions/$user/$task && cat * | md5sum | head -c16`
18 if [ -f testing/$user/$task/sum ] ; then
19 O=`cat testing/$user/$task/sum`
23 if [ $force == 1 -a $N != none ] ; then
27 if [ $O == $N ] ; then
29 elif [ $N == none ] ; then
30 rm -rf testing/$user/$task
35 echo $N >testing/$user/$task/sum