From de852bd466ef418ac07a6317de4af6f8b892338d Mon Sep 17 00:00:00 2001 From: Jamie Gaskins Date: Thu, 5 Aug 2021 10:02:39 -0500 Subject: [PATCH] Separate -v and -z into two separate commands (#14420) --- scripts/build_containers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build_containers.sh b/scripts/build_containers.sh index eb4223d26..d6496b74a 100755 --- a/scripts/build_containers.sh +++ b/scripts/build_containers.sh @@ -139,7 +139,7 @@ function create_release_containers { # If the env var for the git tag doesn't exist or is an empty string, then we # won't build a container image for a cut release. - if [ -v BUILDKITE_TAG || ! -z "${BUILDKITE_TAG}" ]; then + if [ -v BUILDKITE_TAG ] || [ ! -z "${BUILDKITE_TAG}" ]; then docker build --target production \ --cache-from="${CONTAINER_REPO}"/"${CONTAINER_APP}":builder \ --cache-from="${CONTAINER_REPO}"/"${CONTAINER_APP}":production \