diff --git a/Makefile b/Makefile index 36e84c6..8af700e 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,7 @@ GOFILES = *.go # Multi-arch targets are generated from this TARGET_ALIAS = $(APP_NAME)-linux-amd64 $(APP_NAME)-linux-arm $(APP_NAME)-linux-arm64 TARGETS = $(addprefix dist/,$(TARGET_ALIAS)) -.QUOTE = " -CURRENT_GOARCH = $(shell go env | awk -F "=" '/GOARCH/ { gsub(/$(.QUOTE)/,"", $$2); print $$2}') +CURRENT_GOARCH = $(shell go env GOARCH) # Default make target will run tests .DEFAULT_GOAL = test