Commit c76cca31 authored by Marcus's avatar Marcus

add parameter for branch to use

parent 59ff5323
......@@ -10,6 +10,25 @@ ADAPTER_BRANCH=master
GOPATH=/tmp/go
INSTALLDIR=/tmp/feudalClientInstaller
# Argument Parsing
function usage(){
echo "-b|--branch branch of feudalAdapterLdf to use"
}
while [ $# -gt 0 ]; do
case "$1" in
-h|--help) usage; exit 0; ;;
-b|--branch) ADAPTER_BRANCH=${2} shift ;;
*) echo "usage" ;;
esac
shift
done
pushd ./ > /dev/null
test -e ${INSTALLDIR} || mkdir -p ${INSTALLDIR}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment