diff options
| author | Alex Brainman <alex.brainman@gmail.com> | 2017-09-21 12:33:11 +1000 |
|---|---|---|
| committer | Alex Brainman <alex.brainman@gmail.com> | 2017-09-24 01:41:21 +0000 |
| commit | 18b49db18e02c1590119eeda58673bf93c2e41c9 (patch) | |
| tree | 9b9d74217fa6133522252809dd7a3e45b1db6945 /src/database/sql | |
| parent | e6358c798b3001e98b6f7f4c3e2d906cf48533b2 (diff) | |
| download | go-18b49db18e02c1590119eeda58673bf93c2e41c9.tar.xz | |
cmd/go: ignore empty path elements in GOPATH
go command refuses to use GOPATH with empty path elements
(like %GOPATH%=C:\go;). But environment variable change dialog
on Windows 10 produces strings ending with ; (see issue #21928
for a picture). Just accept GOPATH with empty path elements,
and ignore all empty path elements.
Fixes #21928
Change-Id: I1d3c3a19274ed69204d29ae06c3e8ff8c57c1ca0
Reviewed-on: https://go-review.googlesource.com/65151
Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions
