]> Cypherpunks repositories - gostls13.git/commit
cmd/go: allow ~ in middle of path, just not at beginning
authorRuss Cox <rsc@golang.org>
Thu, 14 Mar 2013 03:32:12 +0000 (23:32 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 14 Mar 2013 03:32:12 +0000 (23:32 -0400)
commitffbcd89f629509eef4524a1c824c4cce507ed6f1
tree5651856d5d1b9f4b1e97c1e4c9f5fbdfb59473ef
parentf74eb6dbf73ff7c3caebcd339d250d6e4630a848
cmd/go: allow ~ in middle of path, just not at beginning

An earlier CL disallowed ~ anywhere in GOPATH, to avoid
problems with GOPATH='~/home' instead of GOPATH=~/home.
But ~ is only special in the shell at the beginning of each of
the paths in the list, and some paths do have ~ in the middle.
So relax the requirement slightly.

Fixes #4140.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/7799045
src/cmd/go/main.go