Skip to content

Commit

Permalink
Update var check with appropriate quotes (#2330)
Browse files Browse the repository at this point in the history
  • Loading branch information
skpratt authored Jun 11, 2023
1 parent 7e076bb commit 4976215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control-plane/build-support/functions/20-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4976215

Please sign in to comment.