mirror of
https://github.com/golang/go
synced 2024-11-20 00:04:43 -07:00
gotest: fix windows build.
R=rsc CC=golang-dev https://golang.org/cl/4339055
This commit is contained in:
parent
108ba69ae3
commit
63e28ae4ab
@ -267,7 +267,7 @@ func doRun(argv []string, returnStdout bool) string {
|
||||
argv = []string{"cmd", "/c", "sh", "-c", cmd}
|
||||
}
|
||||
var err os.Error
|
||||
argv[0], err = exec.LookPath(command)
|
||||
argv[0], err = exec.LookPath(argv[0])
|
||||
if err != nil {
|
||||
Fatalf("can't find %s: %s", command, err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user