Commit 08805934 authored by Russ Cox's avatar Russ Cox

gobuild: command printing bug fix

R=r
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=28583
CL=28590
parent 59be46ca
......@@ -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");
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment