diff options
author | Russ Cox <rsc@golang.org> | 2012-03-12 17:03:29 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2012-03-12 17:03:29 -0400 |
commit | 42a4cb20519fb419b29cd6ebee72e60a978776b2 (patch) | |
tree | 4dd077957afdaab7126564ff28ef382962f32f74 /src/cmd/go/help.go | |
parent | 27011387ab8ede48b7d4e7d4070c21df5d2c546d (diff) | |
download | go-42a4cb20519fb419b29cd6ebee72e60a978776b2.tar.gz |
undo CL 5754088 / cae9a7c0db06
broke builders
??? original CL description
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 issue 3269.
R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/5754088
???
TBR=bradfitz
CC=golang-dev
http://codereview.appspot.com/5794065
Diffstat (limited to 'src/cmd/go/help.go')
-rw-r--r-- | src/cmd/go/help.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cmd/go/help.go b/src/cmd/go/help.go index 47ea0c711..26640d833 100644 --- a/src/cmd/go/help.go +++ b/src/cmd/go/help.go @@ -209,9 +209,7 @@ the final element, not the entire path. That is, the command with source in DIR/src/foo/quux is installed into DIR/bin/quux, not DIR/bin/foo/quux. The foo/ is stripped so that you can add DIR/bin to your PATH to get at the -installed commands. If the GOBIN environment variable is -set, commands are installed to the directory it names instead -of DIR/bin. +installed commands. Here's an example directory layout: |