提交 9d341184 authored 作者: Travis Cross's avatar Travis Cross

bootstrap.sh: wait more simply now that we've found the problem

上级 89c590cd
......@@ -438,16 +438,10 @@ bootstrap_libs_post() {
}
bootstrap_libs() {
local jobs=""
for i in ${SUBDIRS}; do
case "$i" in
apr|fs|libzrtp)
if ${BGJOB}; then
for x in $jobs; do
wait $jobs
done
fi
jobs=""
${BGJOB} && wait
bootstrap_$i
continue
;;
......@@ -457,15 +451,9 @@ bootstrap_libs() {
libbootstrap ${i} ; bootstrap_libs_post ${i}
else
(libbootstrap ${i} ; bootstrap_libs_post ${i}) &
local x=$!
jobs="$jobs $x"
fi
done
if ${BGJOB}; then
for x in $jobs; do
wait $x
done
fi
${BGJOB} && wait
}
run() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论