#!/bin/bash

ARRAY=("fantasia" "nwpu" "kylinsky" "cit3d" "jmu" "yushan" "aua" "seuredsun" "taiji" "gstar" "buptrobot" "apollo3d" "dreamwing" "strive3d" "hs" "hfutengine" "nevermore" "nq" "af")

for((i=0;i<19;i++))
do
	mkdir -p /var/log/robocup/${ARRAY[$i]}/log
	chown -R ${ARRAY[$i]}:${ARRAY[$i]} /var/log/robocup/${ARRAY[$i]}
done 

