]> Cypherpunks repositories - gostls13.git/commit
cmd/go: respect $GOBIN always
authorRuss Cox <rsc@golang.org>
Mon, 12 Mar 2012 20:49:12 +0000 (16:49 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 12 Mar 2012 20:49:12 +0000 (16:49 -0400)
commitbccafa72107a60c1443bd405849df94349d3302e
treed812658d2947f85b1d9ee2dda77838e851466ade
parent2d3cc97c9c7ced9d13d99611c3f3a69b4c81fbba
cmd/go: respect $GOBIN always

Before, we only consulted $GOBIN for source code
found in $GOROOT, but that's confusing to explain
and less useful.  The new behavior lets users set
GOBIN=$HOME/bin and have all go-compiled binaries
installed there.

Fixes #3269.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5754088
doc/install-source.html
src/cmd/go/build.go
src/cmd/go/doc.go
src/cmd/go/help.go
src/cmd/go/pkg.go