build: use proper bash if statement

This commit is contained in:
Connor Tumbleson 2019-07-13 08:26:45 -04:00
parent 6aeb7d39d7
commit 2d41a613cc
No known key found for this signature in database
GPG Key ID: C3CC0A201EC7DA75
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env sh
if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
if [ "$TRAVIS_OS_NAME" = "windows" ]; then
export GRADLE_OPTS=-Dorg.gradle.daemon=false
choco install jdk8
export PATH=$PATH:"/c/Program Files/Java/jdk1.8.0_211/bin"

View File

@ -1,6 +1,6 @@
#!/usr/bin/env sh
if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
if [ "$TRAVIS_OS_NAME" = "windows" ]; then
export GRADLE_OPTS=-Dorg.gradle.daemon=false
export PATH=$PATH:"/c/Program Files/Java/jdk1.8.0_211/bin"
export JAVA_HOME="/c/Program Files/Java/jdk1.8.0_211"