3 [ -f config ] || { echo "Missing config file, check cwd." ; exit 1 ; }
6 [ -n "$REMOTE_SUBMIT" ] || { echo "Remote submit not enabled." ; exit 1 ; }
9 echo "Creating submit directory"
12 cd $MO_ROOT/eval/submit
14 cp $H/certs/server* certs/
15 cp $H/certs/ca-cert.pem certs/
19 cp $H/submit/{submitd,config,show-submits} submit/
22 for a in `cd $H && bin/mo-get-users` ; do
27 cp -a $H/submit/lib lib
34 chown -R $REMOTE_SUBMIT_USER.$REMOTE_SUBMIT_GROUP $MO_ROOT/eval/submit