From: Brian West Date: Mon, 14 Jun 2010 00:16:28 +0000 (-0500) Subject: FSBUILD-282 X-Git-Tag: v1.2-rc1~685 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c74fe98365ed5c5df800ee856cca8f210c9f4cd;p=thirdparty%2Ffreeswitch.git FSBUILD-282 --- diff --git a/bootstrap.sh b/bootstrap.sh index 179aae6cdc..59a568769e 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -2,9 +2,16 @@ echo "bootstrap: checking installation..." BGJOB=false -if [ "${1}" == "-j" ] ; then - BGJOB=true -fi +while getopts jh arg +do + case $arg in + j) BGJOB=true;; + h) echo "Usage: $0 " + echo " Options:" + echo " -j => Run Jobs in Background" + exit;; + esac +done BASEDIR=`pwd`; LIBDIR=${BASEDIR}/libs;