Reputation: 641
I have a drive that I use for non-executable stuff, and I set %GOPATH%
to point to a directory on that drive (D:\go\path
). However, I can't simply type
cd %GOPATH%
from the C:\ drive and navigate there. I need to type
cd /c d:\go\path
Will the go linker/compiler/assembler/other stuff still function the same way?
Upvotes: 0
Views: 435
Reputation: 1376
This behavior on the command line is solely cd's fault. If you would write out the whole gopath string, you would get exactly the same behaviour. As go does (have to) make the drive/folder distinction on it's own while processing the path, everything will work just fine.
Upvotes: 2