]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
bootstrap.sh: ensure some parts of bootstrap are serialized
authorTravis Cross <tc@traviscross.com>
Wed, 4 Apr 2012 23:23:07 +0000 (23:23 +0000)
committerTravis Cross <tc@traviscross.com>
Wed, 4 Apr 2012 23:23:07 +0000 (23:23 +0000)
bootstrap.sh

index ae16cfa8d610311758e9bfe66bdd4d3fbbcfe4dd..5ccf450f9786737f80ddbb3167a772d77e10b974 100755 (executable)
@@ -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}