1
0
mirror of https://github.com/golang/go synced 2024-11-22 05:44:41 -07:00

remove reference to /home/r

R=rsc
http://go/go-review/1018039
This commit is contained in:
Robert Griesemer 2009-11-04 11:15:19 -08:00
parent 6dbf7aa129
commit 4bb0271a12

View File

@ -92,7 +92,7 @@ var fsTree RWValue; // *Directory tree of packages, updated with each sync
func init() {
goroot = os.Getenv("GOROOT");
if goroot == "" {
goroot = "/home/r/go-release/go";
goroot = pathutil.Join(os.Getenv("HOME"), "go");
}
flag.StringVar(&goroot, "goroot", goroot, "Go root directory");
}