From: Rob Pike Date: Sun, 23 Sep 2012 00:44:56 +0000 (+1000) Subject: effective_go: s/usr/home/ in example X-Git-Tag: go1.1rc2~2370 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=0cd0c3e8ca224ee605cc5e8a9a2274296c30fd36;p=gostls13.git 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 --- 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"