- Changed the wget command to use "-O" instead of "--output-document="

This commit is contained in:
Christofer Dutz 2017-07-19 11:34:19 +02:00 committed by rfscholte
parent 1fd63e5aea
commit b5858c24bd
1 changed files with 1 additions and 1 deletions

2
maven-wrapper/mvnw vendored
View File

@ -211,7 +211,7 @@ else
echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..."
if command -v wget > /dev/null; then
echo "Found wget ... using wget"
wget output-document=.mvn/wrapper/maven-wrapper.jar "$JAR_URL"
wget O .mvn/wrapper/maven-wrapper.jar "$JAR_URL"
elif command -v curl > /dev/null; then
echo "Found curl ... using curl"
curl -o .mvn/wrapper/maven-wrapper.jar "$JAR_URL"