From 5a3cf06ff303fdcf6f4955df3b623b3d0765c1ea 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"