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

Fix GOPATH handling #41

Closed
gdamore opened this issue Oct 9, 2015 · 1 comment
Closed

Fix GOPATH handling #41

gdamore opened this issue Oct 9, 2015 · 1 comment

Comments

@gdamore
Copy link
Owner

gdamore commented Oct 9, 2015

So $GOPATH handing is wrong on several levels.

First, $GOPATH can consist of multiple directories. So our attempt to look up a file using it as a single directory is broken.

Second, not everyone installs from source.

So probably the best place for this is in $HOME. Or maybe we can figure out a way to locate "library" or support files for Go? I'm not sure if such a thing exists.

@gdamore
Copy link
Owner Author

gdamore commented Nov 3, 2015

So I've added code to look in $HOME/.tcelldb, as well as the full $GOPATH directory list and $TCELLDB.

@gdamore gdamore closed this as completed in 02b78be Nov 3, 2015
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

No branches or pull requests

1 participant