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() {
|
||||
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}
|
||||
|
|
Loading…
Reference in New Issue