From 48d873b52bee57c284de920a55dce41ee9b6bbb8 Mon Sep 17 00:00:00 2001 From: cncal Date: Thu, 2 May 2024 07:56:56 +0800 Subject: [PATCH] build: fix the confusing build message if yq doesn't exist in GOPATH/bin The build message shows that yq was not found when I tried to build runtime binaries, but I've actually installed yq by yum install. Signed-off-by: cncal --- src/runtime/golang.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/golang.mk b/src/runtime/golang.mk index e342a53113..a81f1642f1 100644 --- a/src/runtime/golang.mk +++ b/src/runtime/golang.mk @@ -21,7 +21,7 @@ endif ifeq (,$(not_check_version)) have_yq=$(shell if [ -x "$(GOPATH)/bin/yq" ]; then echo "true"; else echo ""; fi) ifeq (,$(have_yq)) - $(info INFO: yq was not found, installing it) + $(info INFO: yq was not found in GOPATH/bin, installing it) install_yq=$(shell ../../ci/install_yq.sh) endif ifneq (,$(install_yq))