From e4986f65c293c53fbac2012ffcbdd5ffac6855aa Mon Sep 17 00:00:00 2001 From: Christofer Dutz Date: Sun, 23 Jul 2017 19:33:56 +0200 Subject: [PATCH] Removed a hack to force the script to use curl or wget ... --- maven-wrapper/mvnw | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maven-wrapper/mvnw b/maven-wrapper/mvnw index 5c8094eb74..c6c234276c 100755 --- a/maven-wrapper/mvnw +++ b/maven-wrapper/mvnw @@ -216,10 +216,10 @@ else done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties" echo "Downloading from: $jarUrl" - if command -v wgety > /dev/null; then + if command -v wget > /dev/null; then echo "Found wget ... using wget" wget ‐O "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" "$jarUrl" - elif command -v curly > /dev/null; then + elif command -v curl > /dev/null; then echo "Found curl ... using curl" curl -o "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" "$jarUrl" else