From: Travis Cross Date: Wed, 4 Apr 2012 21:24:35 +0000 (+0000) Subject: Add option to ./bootstrap.sh to specify which directories to bootstrap X-Git-Tag: v1.2-rc1~17^2~316 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c219a0949909eff988d0ae664bcd1edcfecc3620;p=thirdparty%2Ffreeswitch.git Add option to ./bootstrap.sh to specify which directories to bootstrap --- diff --git a/bootstrap.sh b/bootstrap.sh index ff1f4550d0..9cfdfad648 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -2,22 +2,24 @@ echo "bootstrap: checking installation..." BGJOB=false -while getopts jh arg -do - case $arg in +BASEDIR=`pwd`; +LIBDIR=${BASEDIR}/libs; +SUBDIRS="ilbc curl iksemel js js/nsprpub ldns libdingaling libedit libsndfile pcre sofia-sip \ + speex sqlite srtp openzap freetdm spandsp libg722_1 portaudio unimrcp tiff-3.8.2 broadvoice silk libcodec2"; + +while getopts 'jhd:' o; do + case "$o" in j) BGJOB=true;; + d) SUBDIRS="$OPTARG";; h) echo "Usage: $0 " echo " Options:" + echo " -d 'library1 library2'" + echo " => Override directories to bootstrap" echo " -j => Run Jobs in Background" exit;; esac done -BASEDIR=`pwd`; -LIBDIR=${BASEDIR}/libs; -SUBDIRS="ilbc curl iksemel js js/nsprpub ldns libdingaling libedit libsndfile pcre sofia-sip \ - speex sqlite srtp openzap freetdm spandsp libg722_1 portaudio unimrcp tiff-3.8.2 broadvoice silk libcodec2"; - if [ ! -f modules.conf ]; then cp build/modules.conf.in modules.conf fi