From c9a2e67d0965fd046a0b3099e9511c26f0201acd Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 9 Nov 2017 00:18:35 -0500 Subject: [PATCH] update install script params --- scripts/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index 44e67db07b..ed627e517d 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -2,19 +2,19 @@ set -e OUTPUT_DIR="../." -if [ $# -eq 1 ] +if [ $# -gt 0 ] then OUTPUT_DIR=$1 fi COREVERSION="latest" -if [ $# -gt 2 ] +if [ $# -gt 1 ] then COREVERSION=$2 fi WEBVERSION="latest" -if [ $# -gt 3 ] +if [ $# -gt 2 ] then WEBVERSION=$3 fi