Commit e8c970e5 authored by Gustavo Niemeyer's avatar Gustavo Niemeyer

cmd/go: fix verbose command displaying

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5715050
parent 04450d8a
......@@ -902,7 +902,7 @@ func isObject(s string) bool {
//
func (b *builder) fmtcmd(dir string, format string, args ...interface{}) string {
cmd := fmt.Sprintf(format, args...)
if dir != "" {
if dir != "" && dir != "/" {
cmd = strings.Replace(" "+cmd, " "+dir, " .", -1)[1:]
if b.scriptDir != dir {
b.scriptDir = dir
......
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