2 # Create a directory with the public scripts from mop/public/.
4 [ -f cf/mop ] || { echo "Missing config file, check cwd." ; exit 1 ; }
8 echo "Populating $MO_ROOT/public"
14 for a in eval mop ; do
15 sed '/^\(TEST_USER\|MO_ROOT\)=/s/^/#/' <$H/cf/$a >cf/$a
19 cp -aL $H/bin/{check,submit,compile,status,box,iwrapper} bin/
22 cp -aL $H/lib/libeval.sh lib/
24 if [ -n "$REMOTE_SUBMIT" ] ; then
25 cp -aL $H/bin/{contest,remote-submit,remote-status} bin/
26 cp -aL $H/lib/perl5 lib/
31 if [ `id -u` == 0 ] ; then
32 chown -R $EVAL_USER.$EVAL_GROUP .