File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -224,6 +224,7 @@ $(LOCALBIN):
224
224
225
225
# # Tool Binaries
226
226
KUSTOMIZE ?= $(LOCALBIN ) /kustomize
227
+ YQ ?= $(LOCALBIN ) /yq
227
228
CONTROLLER_GEN ?= $(LOCALBIN ) /controller-gen
228
229
ENVTEST ?= $(LOCALBIN ) /setup-envtest
229
230
OPENSHIFT-GOIMPORTS ?= $(LOCALBIN ) /openshift-goimports
@@ -395,9 +396,9 @@ output_dir := 'config/crd/'
395
396
396
397
.PHONY : check_yq
397
398
check_yq :
398
- @command -v yq > /dev/null 2>&1 || (echo " Installing wget..." ; yum install -y wget)
399
- @command -v yq > /dev/null 2>&1 || (echo " Installing yq..." ; wget https://github.com/mikefarah/yq/releases/download/v4.2.0/yq_linux_amd64.tar.gz -O - | \
400
- tar xz && mv yq_linux_amd64 /usr/bin/yq )
399
+ @command -v $( LOCALBIN ) /wget > /dev/null 2>&1 || (echo " Installing wget..." ; yum install -y wget)
400
+ @command -v $( YQ ) > /dev/null 2>&1 || (echo " Installing yq..." ; wget https://github.com/mikefarah/yq/releases/download/v4.2.0/yq_linux_amd64.tar.gz -O - | \
401
+ tar xz && mv yq_linux_amd64 $(YQ) )
401
402
402
403
# this works on a MacOS by replacing awk with gawk
403
404
.PHONY : split_yaml
You can’t perform that action at this time.
0 commit comments