summaryrefslogtreecommitdiff
path: root/doc/effective_go.html
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2012-09-23 10:44:56 +1000
committerRob Pike <r@golang.org>2012-09-23 10:44:56 +1000
commitb26e0f3cd501e0887be15edc23efec7197d22d4f (patch)
tree30b76ed8fc9c46bed1f7d94bd05c1e4778e40a8e /doc/effective_go.html
parent25b5fb8e0984313a1f8de471802119c398006272 (diff)
downloadgo-b26e0f3cd501e0887be15edc23efec7197d22d4f.tar.gz
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 issue 4122. R=golang-dev, dsymonds, rsc CC=golang-dev http://codereview.appspot.com/6552060
Diffstat (limited to 'doc/effective_go.html')
-rwxr-xr-xdoc/effective_go.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/effective_go.html b/doc/effective_go.html
index 2ea3dc751..91f6d6a86 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"