diff --git a/Makefile b/Makefile index 3c4a991fd2..88e08c1e70 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,7 @@ endif EXTRA_GOFLAGS ?= -MAKE_VERSION := $(shell $(MAKE) -v | head -n 1) +MAKE_VERSION := $(shell "$(MAKE)" -v | head -n 1) MAKE_EVIDENCE_DIR := .make_evidence ifeq ($(RACE_ENABLED),true)