From c6ba671abfbb02795efaca7746ea38d0608d5a1e Mon Sep 17 00:00:00 2001 From: Nathan McKinley Date: Mon, 30 Apr 2018 12:48:21 -0700 Subject: [PATCH] Another -z/-n mix-up. (#134) --- .ci/magic-modules/create-pr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/magic-modules/create-pr.sh b/.ci/magic-modules/create-pr.sh index 1bbc0ff74292..2aeb428f4438 100755 --- a/.ci/magic-modules/create-pr.sh +++ b/.ci/magic-modules/create-pr.sh @@ -83,7 +83,7 @@ else # PR, rather than create a new one. git branch -f "$ORIGINAL_PR_BRANCH" - if [ -z "$TERRAFORM_REPO_USER" ]; then + if [ -n "$TERRAFORM_REPO_USER" ]; then pushd build/terraform git branch -f "$ORIGINAL_PR_BRANCH" popd