-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: env -w with bad GOPATH makes go env unusable #35338
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
Comments
And how to solve this problem now, reinstall go? @ALTree |
You can manually set GOPATH to temporarily fix
now
|
Thanks brother! |
Even if the workaround works, we probably should fix this by preventing the setting of bad GOPATH values. Let's keep this open to track that. |
@xlionet ok, it couldn`t be better! |
Change https://golang.org/cl/205779 mentions this issue: |
Well, on ubuntu you can find |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
not sure
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
then
What did you expect to see?
If "~" character is not allowed, prevent me before setting may more clearly!
What did you see instead?
go env
is broken.The text was updated successfully, but these errors were encountered: