batch build

pull/455/head
skiffer-git 2 years ago committed by Xinwei Xiong(cubxxw-openim)
parent 71ae2d1f01
commit 448cdddc80

@ -42,9 +42,11 @@ done
echo "wait all build finish" echo "wait all build finish"
for ((i = 0; i < ${#service_source_root[*]}; i++)); do for ((i = 0; i < ${#service_source_root[*]}; i++)); do
wait build_pid_array[i]
echo "wait pid: " ${build_pid_array[i]}
wait ${build_pid_array[i]}
stat=$? stat=$?
echo build_pid_array[i] " " $stat echo ${build_pid_array[i]} " " $stat
if [ $stat == 0 ] if [ $stat == 0 ]
then then
echo "Exit status - $stat" echo "Exit status - $stat"

Loading…
Cancel
Save