[macOS] brew --cask option fix. (#2325)

* [macOS] brew --cask option fix.

* removed curl from HS

* return curl back
This commit is contained in:
Darii Nurgaleev
2020-12-22 14:48:31 +07:00
committed by GitHub
parent 9da3c0764a
commit 0d93dd2fc9
9 changed files with 9 additions and 9 deletions

View File

@@ -37,7 +37,7 @@ do
if [[ $JAVA_VERSION == "7" ]]; then
installAzulJDK "https://cdn.azul.com/zulu/bin/zulu7.42.0.51-ca-jdk7.0.285-macosx_x64.dmg"
else
brew cask install "adoptopenjdk${JAVA_VERSION}"
brew install --cask "adoptopenjdk${JAVA_VERSION}"
fi
createEnvironmentVariable "JAVA_HOME_${JAVA_VERSION}_X64" $JAVA_VERSION
done