mirror of
https://github.com/apache/maven.git
synced 2025-03-07 00:59:51 +00:00
Removed a hack to force the script to use curl or wget ...
This commit is contained in:
parent
661e47170a
commit
e4986f65c2
4
maven-wrapper/mvnw
vendored
4
maven-wrapper/mvnw
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user