forked from Mirrors/freeswitch
bootstrap.sh: ensure some parts of bootstrap are serialized
This commit is contained in:
parent
cdf6e17713
commit
dfc68a72d5
|
@ -383,7 +383,10 @@ bootstrap_fs() {
|
||||||
bootstrap_libs() {
|
bootstrap_libs() {
|
||||||
for i in ${SUBDIRS}; do
|
for i in ${SUBDIRS}; do
|
||||||
case "$i" in
|
case "$i" in
|
||||||
apr|fs|libzrtp) bootstrap_$i && continue ;;
|
apr|fs|libzrtp)
|
||||||
|
[ "${BGJOB}" = "true" ] && wait
|
||||||
|
bootstrap_$i && continue
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
if [ "${BGJOB}" = "false" ]; then
|
if [ "${BGJOB}" = "false" ]; then
|
||||||
libbootstrap ${i}
|
libbootstrap ${i}
|
||||||
|
|
Loading…
Reference in New Issue