Avoid installing script binary to user's $GOPATH/bin. #195
Loading…
Reference in New Issue
No description provided.
Delete Branch "next-ignore-script"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If I am not mistaken, the
script/check-MakeGitError-thread-lock.go
is only needed and used in one place:a4d5118374/Makefile (L7)
It is used in
go run script/check-MakeGitError-thread-lock.go
.However, the
install
target of the same Makefile performsgo install ./...
:a4d5118374/Makefile (L11)
Which ends up installing a
script
binary into user's $GOPATH/bin.Many people have $GOPATH/bin as part of their $PATH, and if I am correct that
script
is not needed in any other way except that one place wherego run script/check-MakeGitError-thread-lock.go
uses it, then it's better to avoid installing thescript
binary to user's $GOPATH/bin and polluting that (already crowded) namespace.This PR fixes that. (If I am mistaken, feel free to close the PR.)
Any thoughts on this?
Thanks!