From 497621505160edd41ef209522f8924c90166c44d Mon Sep 17 00:00:00 2001 From: skpratt Date: Sun, 11 Jun 2023 16:45:14 -0500 Subject: [PATCH] Update var check with appropriate quotes (#2330) --- control-plane/build-support/functions/20-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control-plane/build-support/functions/20-build.sh b/control-plane/build-support/functions/20-build.sh index e9540956c9..dac626b88f 100644 --- a/control-plane/build-support/functions/20-build.sh +++ b/control-plane/build-support/functions/20-build.sh @@ -188,7 +188,7 @@ function build_consul_local { # build with go install. # The GOXPARALLEL environment variable is used if set - if [ $GOTAGS == "fips" ]; then + if [ "${GOTAGS:-}" == "fips" ]; then CGO_ENABLED=1 else CGO_ENABLED=0