1
0
mirror of https://github.com/golang/go synced 2024-11-20 04:14:49 -07:00
go/src
Russ Cox 6b0929505b cmd/go: fix two bugs
Issue 3207 was caused by setting GOPATH=GOROOT.
This is a common mistake, so diagnose it at command start
and also correct the bug that it caused in get (downloading
to GOROOT/src/foo instead of GOROOT/src/pkg/foo).

Issue 3268 was caused by recognizing 'packages' that
had installed binaries but no source.  This behavior is not
documented and causes trouble, so remove it.  We can
revisit the concept of binary-only packages after Go 1.

Fixes #3207.
Fixes #3268.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5930044
2012-03-27 10:41:44 -04:00
..
cmd cmd/go: fix two bugs 2012-03-27 10:41:44 -04:00
lib9 all: remove some references to Make.inc etc. 2012-03-07 13:51:49 +11:00
libbio build: delete make paraphernalia 2012-02-06 13:34:25 -05:00
libmach runtime/pprof: support OS X CPU profiling 2012-02-28 16:18:24 -05:00
pkg path/filepath: use windows GetShortPathName api to force GetLongPathName to do its work 2012-03-27 15:53:08 +11:00
all.bash cmd/dist: cross-compiling fixes 2012-02-13 22:31:51 -05:00
all.bat build: use setlocal in run.bat 2012-02-16 10:44:55 +11:00
clean.bash build: fix clean.bash 2012-02-15 23:52:07 +09:00
clean.bat build: implement clean.bat 2012-02-20 12:17:27 +11:00
make.bash build: do more during windows build 2012-03-20 14:04:20 +11:00
make.bat build: do more during windows build 2012-03-20 14:04:20 +11:00
Make.dist cmd/dist: make 'make' quieter for developers 2012-02-08 15:26:47 -05:00
run.bash run.bash: set -e in new codewalk block 2012-03-26 17:03:04 +11:00
run.bat build: unset GOPATH before tests 2012-03-21 00:47:27 +08:00
sudo.bash cmd/dist, cmd/go: move CGO_ENABLED from 'go tool dist env' to 'go env' 2012-03-10 03:42:23 +08:00