mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-11 06:13:43 +00:00
Merge pull request #9582 from cncal/main
build: fix the confusing build message if yq doesn't exist in GOPATH/bin
This commit is contained in:
commit
a564422b7b
@ -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