mirror of https://github.com/apache/maven.git
- Changed the wget command to use "-O" instead of "--output-document="
This commit is contained in:
parent
87f298313c
commit
a0dfc3eee4
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue