mirror of
https://github.com/golang/go
synced 2024-11-24 08:10:09 -07: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:
parent
1dc914bc0d
commit
733fde588b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user