From dfc68a72d585e363a712a1ea5a42b97c82486def Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Wed, 4 Apr 2012 23:23:07 +0000 Subject: [PATCH] bootstrap.sh: ensure some parts of bootstrap are serialized --- bootstrap.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index ae16cfa8d6..5ccf450f97 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -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}