From f98ffff64a3c07d10c2ef2bcedfeb62495742af8 Mon Sep 17 00:00:00 2001 From: a1012112796 <1012112796@qq.com> Date: Mon, 19 Jun 2023 09:53:16 +0800 Subject: [PATCH] fix a nit error output in Makefile (#25360) fix ``make: write error: stdout`` ref: https://stackoverflow.com/questions/70671525/write-error-stdout-when-calling-make-from-makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6955306974..f6d9b9d04f 100644 --- a/Makefile +++ b/Makefile @@ -68,7 +68,7 @@ endif EXTRA_GOFLAGS ?= -MAKE_VERSION := $(shell "$(MAKE)" -v | head -n 1) +MAKE_VERSION := $(shell "$(MAKE)" -v | cat | head -n 1) MAKE_EVIDENCE_DIR := .make_evidence ifeq ($(RACE_ENABLED),true)