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