FAQ
OT discussion of GOBIN:
On Wednesday, April 6, 2016 at 2:08:20 AM UTC-4, Nigel Tao wrote:

On Wed, Apr 6, 2016 at 10:00 AM, Andrew Gerrand <a...@golang.org
<javascript:>> wrote:
or "GOBIN=. go install" when building examples
$ GOBIN=. go install golang.org/x/exp/shiny/example/basic
cannot install, GOBIN must be an absolute path

I'm assuming that that's by design.
This was changed in Go 1.6. There was an issue with relative paths, and the
fix was to outlaw relative paths. GOBIN=$(pwd) is an obvious workaround,
but I miss the old behavior.

https://github.com/golang/go/issues/12907
https://github.com/golang/go/commit/5b9c6b9e9e645742f6f1a7552f9fc1113178c514
https://go-review.googlesource.com/#/c/15755/

--
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 21 of 22 | next ›
Discussion Overview
groupgolang-dev @
categoriesgo
postedApr 2, '16 at 2:42a
activeMay 2, '16 at 11:45a
posts22
users12
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase