Fixes boolean expression evaluation errors.
@@ -20,10 +20,10 @@ echo -e "Branch:"
echo -e "\tExpected:false"
echo -e "\tActual:$TRAVIS_BRANCH"
-canBuild=["$TRAVIS_REPO_SLUG" -eq "Valkryst/VTerminal"]
-canBuild&=["$TRAVIS_JDK_VERSION" -eq "oraclejdk8"]
-canBuild&=["$TRAVIS_PULL_REQUEST" -eq "false"]
-canBuild&=["$TRAVIS_BRANCH" -eq "master"]
+canBuild=$(expr "$TRAVIS_REPO_SLUG" == "Valkryst/VTerminal")
+canBuild&=$(expr "$TRAVIS_JDK_VERSION" == "oraclejdk8")
+canBuild&=$(expr "$TRAVIS_PULL_REQUEST" == "false")
+canBuild&=$(expr "$TRAVIS_BRANCH" == "master")
if [canBuild == true]; then
echo -e "Publishing JavaDoc...\n"
