From f8e7110039c2c9d1f7852d7e12797909806fb577 Mon Sep 17 00:00:00 2001 From: DJ Mountney Date: Thu, 13 Apr 2023 14:46:43 -0700 Subject: Make the boringcrypto check POSIX shell compliant - Otherwise this fails on some of the omnibus builder images --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e73f034..c89ff82 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ BUILD_TAGS := tracer_static tracer_static_jaeger continuous_profiler_stackdriver ifeq (${FIPS_MODE}, 1) # Go 1.19 now requires GOEXPERIMENT=boringcrypto for FIPS compilation. # See https://github.com/golang/go/issues/51940 for more details. - BORINGCRYPTO_SUPPORT := $(shell GOEXPERIMENT=boringcrypto go version &> /dev/null; echo $$?) + BORINGCRYPTO_SUPPORT := $(shell GOEXPERIMENT=boringcrypto go version > /dev/null 2>&1; echo $$?) ifeq ($(BORINGCRYPTO_SUPPORT), 0) GOBUILD_ENV=GOEXPERIMENT=boringcrypto endif -- cgit v1.2.1