Commits

Anonymous committed 99fee67

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

  • Participants
  • Parent commits a203e31

Comments (0)

Files changed (1)

File doc/effective_go.html

         log.Fatal("$USER not set")
     }
     if HOME == "" {
-        HOME = "/usr/" + USER
+        HOME = "/home/" + USER
     }
     if GOROOT == "" {
         GOROOT = HOME + "/go"