Adds $ to usages of canBuild in boolean expressions.
@@ -21,9 +21,9 @@ echo -e "\tExpected:false"
echo -e "\tActual:$TRAVIS_BRANCH\n"
canBuild=$(expr "$TRAVIS_REPO_SLUG" == "Valkryst/VTerminal")
-canBuild=$(expr $(expr "$TRAVIS_JDK_VERSION" == "oraclejdk8") && canBuild)
-canBuild=$(expr $(expr "$TRAVIS_PULL_REQUEST" == "false") && canBuild)
-canBuild=$(expr $(expr "$TRAVIS_BRANCH" == "master") && canBuild)
+canBuild=$(expr $(expr "$TRAVIS_JDK_VERSION" == "oraclejdk8") && $canBuild)
+canBuild=$(expr $(expr "$TRAVIS_PULL_REQUEST" == "false") && $canBuild)
+canBuild=$(expr $(expr "$TRAVIS_BRANCH" == "master") && $canBuild)
if [canBuild == true]; then
echo -e "Publishing JavaDoc...\n"
