From 5762f9d37b0b4fd62c447ace0c1d19694239c659 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotrek=20=C5=BBygie=C5=82o?= Date: Fri, 22 Feb 2019 22:40:56 +0100 Subject: [PATCH] usage of MVNW_REPOURL for wrapper download --- maven-wrapper/mvnw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-wrapper/mvnw b/maven-wrapper/mvnw index 2f7f8d2054..b17728f736 100755 --- a/maven-wrapper/mvnw +++ b/maven-wrapper/mvnw @@ -211,7 +211,7 @@ else if [ "$MVNW_VERBOSE" = true ]; then echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..." fi - if [ "$MVNW_REPOURL" = true ]; then + if [ -n "$MVNW_REPOURL" ]; then jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.2/maven-wrapper-0.5.2.jar" else jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.2/maven-wrapper-0.5.2.jar"