1
0
mirror of https://github.com/golang/go synced 2024-10-04 14:31:21 -06:00
go/src
Shenghou Ma 710d0540e2 cmd/dist: make dir check in defaulttarg() more robust
1, strip last path separator from $GOROOT
   The user might define GOROOT=/path/to/go/, but then the dir
   check in defaulttarg() will always complain the current dir
   is not within $GOROOT/src/.
2, resolve symlinks in the default goroot
   Or if getcwd() returns a fully-resolved path, the check in
   defaulttarg() will always fail.

R=rsc
CC=golang-dev
https://golang.org/cl/5649073
2012-02-17 11:29:34 -05:00
..
cmd cmd/dist: make dir check in defaulttarg() more robust 2012-02-17 11:29:34 -05:00
lib9 build: delete make paraphernalia 2012-02-06 13:34:25 -05:00
libbio build: delete make paraphernalia 2012-02-06 13:34:25 -05:00
libmach 8a, 8l: add EMMS instruction 2012-02-17 11:21:46 -05:00
pkg 8a, 8l: add EMMS instruction 2012-02-17 11:21:46 -05: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
make.bash build: add make.bash --no-clean option 2012-02-15 11:48:17 -05:00
make.bat make.bat, run.bat: echo newlines 2012-02-16 20:49:50 +00:00
Make.dist cmd/dist: make 'make' quieter for developers 2012-02-08 15:26:47 -05:00
run.bash cmd/dist: cross-compiling fixes 2012-02-13 22:31:51 -05:00
run.bat make.bat, run.bat: echo newlines 2012-02-16 20:49:50 +00:00
sudo.bash build: fix sudo.bash. 2012-02-15 08:42:16 +11:00