mirror of
https://github.com/golang/go
synced 2024-11-18 10:44:45 -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 {
|
if display {
|
||||||
fmt.Fprint(os.Stderr, "$ ");
|
fmt.Fprint(os.Stderr, "$ ");
|
||||||
for i, s := range cmd {
|
for i, s := range cmd {
|
||||||
fmt.Fprint(os.Stderr, s[i], " ");
|
fmt.Fprint(os.Stderr, s, " ");
|
||||||
}
|
}
|
||||||
fmt.Fprint(os.Stderr, file, "\n");
|
fmt.Fprint(os.Stderr, file, "\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user