Descriptioninstall: convert GOROOT and GOBIN Windows-style paths to Unix-like paths
GOROOT and GOBIN paths are used to build the Go toolchain and
programs.
To build a Go program on Windows, the paths should be valid Windows
full paths, starting with the drive letter and a colon e.g. C:\go\bin
or c:/go/bin.
On Windows, the Go toolchain is built using the MSYS/MinGW Unix-like
toolchain. MSYS knows that it must convert a Windows-like PATH to a
Unix-like path. MSYS does not know that it should convert
Windows-like GOROOT and GOBIN paths to Unix-like paths, so we
have to do the conversion.
Rob Pike's windows_path function has been revised to convert Windows
drive letters to lowercase.
Fixes issue 1734.
Fixes issue 1735.
Patch Set 1 #Patch Set 2 : diff -r 63dd23bf8663 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 63dd23bf8663 https://go.googlecode.com/hg/ #MessagesTotal messages: 3
|