fix typo in if statement

This commit is contained in:
Nick Minkler 2014-06-23 14:13:02 -07:00
parent 74c4e44600
commit 38c64ece87

View File

@ -1,6 +1,6 @@
#!/bin/bash
if [ "$TRAVIS_REPO_SLUG" != "MilkBowl/VaultAPI"] || [ "$TRAVIS_PULL_REQUEST" == "true" ] || [ "$TRAVIS_BRANCH" != "master" ]
if [[ "$TRAVIS_REPO_SLUG" != "MilkBowl/VaultAPI" || "$TRAVIS_PULL_REQUEST" == "true" || "$TRAVIS_BRANCH" != "master" ]]
then
echo 'Travis can only publish docs for release builds.'
return 0