From 6c74fe98365ed5c5df800ee856cca8f210c9f4cd Mon Sep 17 00:00:00 2001 From: Brian West Date: Sun, 13 Jun 2010 19:16:28 -0500 Subject: [PATCH] FSBUILD-282 --- bootstrap.sh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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;