Removed a hack to force the script to use curl or wget ...

This commit is contained in:
Christofer Dutz 2017-07-23 19:33:56 +02:00 committed by rfscholte
parent 661e47170a
commit e4986f65c2
1 changed files with 2 additions and 2 deletions

4
maven-wrapper/mvnw vendored
View File

@ -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