fix getopts in OpenSRF/Evergreen install scripts
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Mon, 6 Feb 2017 17:21:58 +0000 (09:21 -0800)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Mon, 6 Feb 2017 17:21:58 +0000 (09:21 -0800)
deployment/install-eg.sh
deployment/install-osrf.sh

index 2334077..c1072cd 100755 (executable)
@@ -22,7 +22,7 @@ suwrap() {
   su -s /bin/bash -c "source ~/.bashrc ; $1" $2
 }
 
-while getopts ":p" opt ; do
+while getopts ":pecw" opt ; do
   case $opt in
     p ) PROD="prod";;
     e ) EDI="edi";;
index 476ab91..a712f50 100755 (executable)
@@ -17,7 +17,7 @@ then
   exit
 fi
 
-while getopts ":p" opt ; do
+while getopts ":pw" opt ; do
   case $opt in
     p ) PROD="prod";;
     w ) WEBSOCKETS="websockets";;