X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=bin%2Fmo-install;h=2c0e8bd6360bd6ba96cf9c1971ad25a209370b6d;hb=50cc126ebe949259a54f153a123848d771601b77;hp=8d7556c016678e80332946f2746a0b4e2a671568;hpb=9306a593e097b30b55196f0fb7dd7c189389a0d3;p=eval.git diff --git a/bin/mo-install b/bin/mo-install index 8d7556c..2c0e8bd 100755 --- a/bin/mo-install +++ b/bin/mo-install @@ -16,15 +16,7 @@ chmod 755 eval cd eval # mo-eval home -echo "Creating $EVAL_USER" -mkdir eval -cd eval -cp -a $H/* . -chmod +x bin/* -if [ -d ~/.ssh ] ; then echo "Copying SSH configuration from ~/.ssh" ; cp -a ~/.ssh . ; fi -cd .. -chown -R $EVAL_USER.$EVAL_GROUP eval -chmod 750 eval +bin/mo-create-eval # testusers ( cd eval && bin/mo-create-testusers ) @@ -32,6 +24,7 @@ chmod 750 eval # mo-submit home if [ -n "$REMOTE_SUBMIT" ] ; then mkdir submit + chmod 750 submit if [ -d ~/.ssh ] ; then echo "Copying SSH configuration from ~/.ssh" ; cp -a ~/.ssh submit/ ; fi ( cd $H && bin/mo-create-submit ) fi