mirror of
https://github.com/golang/go
synced 2024-11-18 06:24:47 -07:00
gobuild: command printing bug fix
R=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=28583 CL=28590
This commit is contained in:
parent
59be46ca35
commit
0880593436
@ -100,7 +100,7 @@ func Build(cmd []string, file string, display bool) (ok bool) {
|
||||
if display {
|
||||
fmt.Fprint(os.Stderr, "$ ");
|
||||
for i, s := range cmd {
|
||||
fmt.Fprint(os.Stderr, s[i], " ");
|
||||
fmt.Fprint(os.Stderr, s, " ");
|
||||
}
|
||||
fmt.Fprint(os.Stderr, file, "\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user