Descriptioncmd/dist: emit \r in env -w output
go tool dist env -w is supposed to print a Windows batch file.
Normally Windows will execute batch files without \r before \n,
but issue 3060 reports that if the file ends up containing paths
written in Chinese, Windows 7 cannot execute it without the \r.
So add the \r.
Fixes issue 3060.
Patch Set 1 #Patch Set 2 : diff -r a9fc9baa621b https://go.googlecode.com/hg/ #Patch Set 3 : diff -r a9fc9baa621b https://go.googlecode.com/hg/ #Patch Set 4 : diff -r a4ab112f5b8f https://go.googlecode.com/hg/ #MessagesTotal messages: 3
|