From 08344a09a6da5578ea7204181c571cbd18bfae15 Mon Sep 17 00:00:00 2001 From: Bastian Schroll Date: Tue, 21 Feb 2017 21:36:07 +0100 Subject: [PATCH] installer - add custom path func. --- install.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 78f8550..a3c59da 100644 --- a/install.sh +++ b/install.sh @@ -53,11 +53,14 @@ for (( i=1; i<=$#; i=$i+2 )); do -b|--branch) case $arg2 in - dev|develop) echo " !!! WARNING: you are using the DEV BRANCH !!! "; branch=dev ;; - beta) echo " !!! WARNING: you are using the BETA BRANCH !!! "; branch=beta ;; + dev|develop) echo " !!! WARNING: you are using the DEV BRANCH !!! "; branch=dev ;; + beta) echo " !!! WARNING: you are using the BETA BRANCH !!! "; branch=beta ;; *) branch=master ;; esac ;; + case $arg in + -p|--path) echo " !!! WARNING: you install BOSWATCH to alternatove path !!! "; boswatchpath=$arg2 ;; + *) echo "Internal error!" ; exit 1 ;; esac done