Fix yq target

Without this I was seeing:

$ make yq
tar: yq_linux_amd64: Not found in archive
tar: Exiting with failure status due to previous errors
make: *** [Makefile:240: yq] Error 2
This commit is contained in:
Shane McDonald
2022-04-29 08:39:10 -04:00
parent 6cbc6a7234
commit b7e5f235ad

View File

@@ -241,7 +241,7 @@ ifeq (,$(shell which yq 2>/dev/null))
set -e ;\
mkdir -p $(dir $(HELM)) ;\
curl -sSLo - https://github.com/mikefarah/yq/releases/download/v4.20.2/yq_$(OS)_$(ARCHA).tar.gz | \
tar xzf - -C bin/ yq_$(OS)_$(ARCHA) ;\
tar xzf - -C bin/ ;\
mv bin/yq_$(OS)_$(ARCHA) bin/yq ;\
}
else