Skip to content

Commit

Permalink
windows: reset command var to sh for correct error output messages
Browse files Browse the repository at this point in the history
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4492043
  • Loading branch information
jpoirier authored and robpike committed May 7, 2011
1 parent 1dc914b commit 733fde5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cmd/gotest/gotest.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -285,6 +285,7 @@ func doRun(argv []string, returnStdout bool) string {
}
cmd += `"` + v + `"`
}
command = "sh"
argv = []string{"sh", "-c", cmd}
}
var err os.Error
Expand Down

0 comments on commit 733fde5

Please sign in to comment.