]> mj.ucw.cz Git - moe.git/blobdiff - bin/mo-create-contestants
Added the show-submits utility.
[moe.git] / bin / mo-create-contestants
index f2dd8d27357c70612c7caa840f02450231c48779..3cc44454b8cc8d937756d948c29c336d8c94a827 100755 (executable)
@@ -15,7 +15,7 @@ for a in `cd $H && bin/mo-get-users` ; do
        mkdir $a $a/$a
        chown root.$a $a
        chmod 750 $a
        mkdir $a $a/$a
        chown root.$a $a
        chmod 750 $a
-       cp -a `find $H/template -type f -name ".*"` $a/$a/
+       cp -a `find $H/template -mindepth 1 -maxdepth 1` $a/$a/
 
        if [ -n "$REMOTE_SUBMIT" ] ; then
                M=$a/$a/.mo
 
        if [ -n "$REMOTE_SUBMIT" ] ; then
                M=$a/$a/.mo