From c61c17b6f8ed5009174633171d2299301de571d9 Mon Sep 17 00:00:00 2001 From: Enis Soztutar Date: Thu, 29 Jan 2015 18:13:05 -0800 Subject: [PATCH] HBASE-12944 Support patches to branches in precommit jenkins build (ADDENDUM to fix branch name parsing) --- dev-support/test-patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index 0cf5c035d00..0754503528d 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -229,7 +229,7 @@ checkoutBranch() { echo "" echo "" if [[ $JENKINS == "true" ]] ; then - if [[ $BRANCH_NAME -ne "master" ]]; then + if [[ "$BRANCH_NAME" != "master" ]]; then echo "${GIT} checkout ${BRANCH_NAME}" ${GIT} checkout ${BRANCH_NAME} echo "${GIT} status"