summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authora1012112796 <1012112796@qq.com>2023-06-19 09:53:16 +0800
committerGitHub <noreply@github.com>2023-06-18 21:53:16 -0400
commitf98ffff64a3c07d10c2ef2bcedfeb62495742af8 (patch)
treed441c44424beb5a2fb961615356b041f7491943a /Makefile
parenta59bfeb175d3a09301603ac47e19828265d8689a (diff)
downloadgitea-f98ffff64a3c07d10c2ef2bcedfeb62495742af8.tar.gz
gitea-f98ffff64a3c07d10c2ef2bcedfeb62495742af8.zip
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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)