From: Travis Cross Date: Wed, 4 Apr 2012 23:23:07 +0000 (+0000) Subject: bootstrap.sh: ensure some parts of bootstrap are serialized X-Git-Tag: v1.2-rc1~17^2~309 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfc68a72d585e363a712a1ea5a42b97c82486def;p=thirdparty%2Ffreeswitch.git bootstrap.sh: ensure some parts of bootstrap are serialized --- 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}