Skip to content

Commit

Permalink
Makefile: Fix golint URL used in go get
Browse files Browse the repository at this point in the history
Otherwise, commands like "make install.tools" fail with:

	$ make install.tools
	go get -u github.com/golang/lint/golint
	code in directory /<path>/github.com/golang/lint/golint expects import "golang.org/x/lint/golint"

The github repository says this URL should be used for go get. After
this patch, make install.tools works just fine.

Signed-off-by: Rodrigo Campos <[email protected]>
  • Loading branch information
rata committed Nov 5, 2020
1 parent e6143ca commit e9429bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ install.tools: .install.golint .install.gitvalidation
# golint does not even build for <go1.7
.install.golint:
ifeq ($(call ALLOWED_GO_VERSION,1.7,$(HOST_GOLANG_VERSION)),true)
go get -u github.com/golang/lint/golint
go get -u golang.org/x/lint/golint
endif

.install.gitvalidation:
Expand Down

0 comments on commit e9429bb

Please sign in to comment.