batch build

This commit is contained in:
skiffer-git 2022-06-10 21:37:48 +08:00 committed by Xinwei Xiong(cubxxw-openim)
parent cbf53e12cd
commit fe5b457f29

View File

@ -21,12 +21,14 @@ echo "==========================================================">>../logs/openI
echo "==========================================================">>../logs/openIM.log 2>&1 &
build_pid_array=()
idx=0
for i in ${need_to_start_server_shell[*]}; do
chmod +x $i
./$i &
build_pid=$!
build_pid_array[i]=$build_pid
echo "build_pid " $build_pid
build_pid_array[idx]=$build_pid
let idx=idx+1
done
echo "wait all start finish....."