From 764d968fd8052192f874d3e7e3b9c7e89d166e63 Mon Sep 17 00:00:00 2001 From: Zhen Date: Fri, 16 Oct 2015 11:17:41 +0200 Subject: [PATCH] Recognize alpha-version if it is provided directly To download latest alpha, we could both use `./neoget.sh -a` or `./neoget.sh 3.0.0-M01` --- neoget.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neoget.sh b/neoget.sh index 8e98d8a4f..12e799034 100755 --- a/neoget.sh +++ b/neoget.sh @@ -21,7 +21,7 @@ EDITION="community" MODE="" CHECK_EXISTS=0 ALL_VERSIONS="2.3.0-M02 2.2.2 2.1.8 2.0.4" -ALPHA_VERSION="3.0.0-M01" +ALPHA_VERSION="3.0.0-M01-NIGHTLY" function usage { SCRIPT=$(basename $0) @@ -83,7 +83,7 @@ function download { fi if [ $DOWNLOAD -eq 1 ] then - if [[ "$ALL_VERSIONS" == "$ALPHA_VERSION" ]] + if [[ "$VERSIONS" == "$ALPHA_VERSION" ]] then URL="${ALPHA}/${ARCHIVE}" else