]> Cypherpunks repositories - gostls13.git/commit
cmd/go: don't set default GOPATH to GOROOT
authorIan Lance Taylor <iant@golang.org>
Fri, 11 Nov 2016 06:06:08 +0000 (22:06 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 11 Nov 2016 14:42:04 +0000 (14:42 +0000)
commit428df5e39c0a696b71724237879a22a718a854a7
tree2f952d4e7aa8eeb830810b391ac7030115fa59d3
parent66477ec8307e18f751996d92ac8741596a23615a
cmd/go: don't set default GOPATH to GOROOT

It will just cause confusion later as the go tool will say
"warning: GOPATH set to GOROOT (%s) has no effect".
Better to just leave GOPATH unset and get that warning instead.

Change-Id: I78ff9e87fdf4bb0460f4f6d6ee76e1becaa3e7b0
Reviewed-on: https://go-review.googlesource.com/33105
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/go/build/build.go