bootstrap.sh: ensure some parts of bootstrap are serialized

This commit is contained in:
Travis Cross 2012-04-04 23:23:07 +00:00
parent cdf6e17713
commit dfc68a72d5
1 changed files with 4 additions and 1 deletions

View File

@ -383,7 +383,10 @@ bootstrap_fs() {
bootstrap_libs() {
for i in ${SUBDIRS}; do
case "$i" in
apr|fs|libzrtp) bootstrap_$i && continue ;;
apr|fs|libzrtp)
[ "${BGJOB}" = "true" ] && wait
bootstrap_$i && continue
;;
esac
if [ "${BGJOB}" = "false" ]; then
libbootstrap ${i}