Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install: add GOPATH or GOBIN to the list of executables #188

Merged
merged 1 commit into from
Sep 23, 2014

Conversation

fatih
Copy link
Owner

@fatih fatih commented Sep 22, 2014

Fixes #186

fatih added a commit that referenced this pull request Sep 23, 2014
install: add GOPATH or GOBIN to the list of executables
@fatih fatih merged commit b0ebb9e into master Sep 23, 2014
@fatih fatih deleted the fix-binary-paths branch October 23, 2014 13:19
@luan
Copy link
Contributor

luan commented Apr 23, 2016

Hi @fatih, any particular reason for append instead of prepend? This is causing issues if people have some other binary in their path with a colliding name, because appending makes our gobin the last lookup path rather than the first.

I'm getting several reports of people hitting this issue because they had tools compiled on 1.6 and were hanging out in their $GOPATH/bin and now that we're using g:go_bin_path that is not getting updated, short term fix for us is just removing those stale binaries but seems like a prepend to the $PATH would be appropriate.

Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Append go_bin_path before executing any command.
2 participants