File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ controller-gen: ## Download controller-gen locally if necessary.
126126
127127KUSTOMIZE = $(shell pwd) /bin/kustomize
128128kustomize : # # Download kustomize locally if necessary.
129- $(call go-get-tool,$(KUSTOMIZE ) ,sigs.k8s.io/kustomize/kustomize/[email protected] ) 129+ $(call go-get-tool,$(KUSTOMIZE ) ,sigs.k8s.io/kustomize/kustomize/[email protected] ) 130130
131131# go-get-tool will 'go get' any package $2 and install it to $1.
132132PROJECT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST ) ) ) )
@@ -137,7 +137,7 @@ TMP_DIR=$$(mktemp -d) ;\
137137cd $$TMP_DIR ;\
138138go mod init tmp ;\
139139echo "Downloading $(2 ) " ;\
140- GOBIN=$(PROJECT_DIR ) /bin go get $(2 ) ;\
140+ GOBIN=$(PROJECT_DIR ) /bin go install $(2 ) ;\
141141rm -rf $$TMP_DIR ;\
142142}
143143endef
You can’t perform that action at this time.
0 commit comments