From 32a497dda325b8931a50811548a6a9cbc031c28a Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 1 Feb 2019 19:19:40 -0600 Subject: [PATCH] Update test.sh --- test.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test.sh b/test.sh index 80ca624..8b8e3d4 100755 --- a/test.sh +++ b/test.sh @@ -18,7 +18,8 @@ fi -#while getopts ':d:t:s:S:H:P:' flag; do +case "$1" in +newsite) while [ $# -gt 0 ]; do case "$1" in -d) NEW_SITE=${2}; echo "NEW_SITE - ${NEW_SITE}" ;; @@ -35,4 +36,6 @@ while [ $# -gt 0 ]; do #*) break;; esac shift -done +done;; + +esac