diff options
| author | Russ Cox <rsc@golang.org> | 2015-04-17 15:20:27 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2015-04-20 19:54:01 +0000 |
| commit | 6e221a90382c85d2160f27721ecc121e860d254f (patch) | |
| tree | c6d8dd64c706a6668bc6a8576ba7d85c2463976f /src/runtime/netpoll_kqueue.go | |
| parent | 357a013060686aa90432dba93faa01196452eabe (diff) | |
| download | go-6e221a90382c85d2160f27721ecc121e860d254f.tar.xz | |
cmd/dist: run commands in $GOROOT/src not $GOROOT when possible
The go command prints paths in errors relative to its current directory.
Since all.bash and run.bash are run in $GOROOT/src, prefer to run
the go command, so that the relative paths are correct.
Before this CL, running all.bash in $GOROOT/src:
##### Testing race detector
# net/http
src/net/http/transport.go:1257: cannot take the address of <node EFACE>
This is wrong (or at least less useful) because there is no $GOROOT/src/src/net/http directory.
Change-Id: I0c0d52c22830d79b3715f51a6329a3d33de52a72
Reviewed-on: https://go-review.googlesource.com/9157
Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/runtime/netpoll_kqueue.go')
0 files changed, 0 insertions, 0 deletions
