From 4cb23f6097864047251746a06bbad52c42ece86d Mon Sep 17 00:00:00 2001 From: Shawn Allen Date: Tue, 25 Jul 2017 13:37:43 -0700 Subject: [PATCH] check whether TRAVIS_PULL_REQUEST is "false" --- script/cibuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/cibuild b/script/cibuild index 9a6675f7..7103653b 100755 --- a/script/cibuild +++ b/script/cibuild @@ -8,7 +8,7 @@ args=$@ branch=$TRAVIS_BRANCH # the presence of $TRAVIS_PULL_REQUEST tells us whether this is a pull request -if [[ "$TRAVIS_PULL_REQUEST" != "" ]]; then +if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then target_branch=$TRAVIS_PULL_REQUEST_BRANCH # if the *source* branch begins with "release" if [[ "$branch" =~ ^release ]]; then