1
0
mirror of https://github.com/golang/go synced 2024-10-02 08:18:32 -06:00

windows: reset command var to sh for correct error output messages

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4492043
This commit is contained in:
Joe Poirier 2011-05-06 22:05:04 -07:00 committed by Rob Pike
parent 1dc914bc0d
commit 733fde588b

View File

@ -182,7 +182,7 @@ func getTestFileNames() {
}
}
// parseFiles parses the files and remembers the packages we find.
// parseFiles parses the files and remembers the packages we find.
func parseFiles() {
fileSet := token.NewFileSet()
for _, f := range files {
@ -285,6 +285,7 @@ func doRun(argv []string, returnStdout bool) string {
}
cmd += `"` + v + `"`
}
command = "sh"
argv = []string{"sh", "-c", cmd}
}
var err os.Error