mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-16 15:07:46 +00:00
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 <flycalvin@qq.com>
This commit is contained in:
parent
3456483df9
commit
48d873b52b
@ -21,7 +21,7 @@ endif
|
|||||||
ifeq (,$(not_check_version))
|
ifeq (,$(not_check_version))
|
||||||
have_yq=$(shell if [ -x "$(GOPATH)/bin/yq" ]; then echo "true"; else echo ""; fi)
|
have_yq=$(shell if [ -x "$(GOPATH)/bin/yq" ]; then echo "true"; else echo ""; fi)
|
||||||
ifeq (,$(have_yq))
|
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)
|
install_yq=$(shell ../../ci/install_yq.sh)
|
||||||
endif
|
endif
|
||||||
ifneq (,$(install_yq))
|
ifneq (,$(install_yq))
|
||||||
|
Loading…
Reference in New Issue
Block a user