Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Commit 3be0b34

Browse files
committed
fix makefile pr 192
1 parent 80f9cfb commit 3be0b34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ fmt:
5858

5959
download-golint:
6060
ifeq (, $(shell which golint))
61-
go get golang.org/x/lint/golint
61+
go install golang.org/x/lint/golint
6262
GOLINT=$(shell go env GOPATH)/bin/golint
6363
else
6464
GOLINT=$(shell which golint)
@@ -100,7 +100,7 @@ docker-push:
100100
# download controller-gen if necessary
101101
controller-gen:
102102
ifeq (, $(shell which controller-gen))
103-
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.3.0
103+
go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.3.0
104104
CONTROLLER_GEN=$(shell go env GOPATH)/bin/controller-gen
105105
else
106106
CONTROLLER_GEN=$(shell which controller-gen)

0 commit comments

Comments
 (0)