mirror of https://github.com/apache/maven.git
Removed a hack to force the script to use curl or wget ...
This commit is contained in:
parent
661e47170a
commit
e4986f65c2
|
@ -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…
Reference in New Issue