diff options
| author | Rob Pike <r@golang.org> | 2012-09-23 10:44:56 +1000 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2012-09-23 10:44:56 +1000 |
| commit | 0cd0c3e8ca224ee605cc5e8a9a2274296c30fd36 (patch) | |
| tree | 198abbfbf24cb7e5b6d6355568c89235661c0372 | |
| parent | 05ac300830ab89c46a259b3bb9d57a4a5a080a15 (diff) | |
| download | go-0cd0c3e8ca224ee605cc5e8a9a2274296c30fd36.tar.xz | |
effective_go: s/usr/home/ in example
When I was a lad (and well past), users were in /usr;
now they're somewhere else, I'm told.
Kids today.
Fixes #4122.
R=golang-dev, dsymonds, rsc
CC=golang-dev
https://golang.org/cl/6552060
| -rwxr-xr-x | doc/effective_go.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/effective_go.html b/doc/effective_go.html index 2ea3dc751b..91f6d6a86a 100755 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -1774,7 +1774,7 @@ func init() { log.Fatal("$USER not set") } if HOME == "" { - HOME = "/usr/" + USER + HOME = "/home/" + USER } if GOROOT == "" { GOROOT = HOME + "/go" |
