mirror of
https://github.com/golang/go
synced 2024-11-26 22:31:23 -07:00
cmd/go: write the WORK=/tmp/... line to stderr
Unlike the other output from the -x flag, it was going to stdout. Fixes #6362. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13746044
This commit is contained in:
parent
4182889a09
commit
ba10318607
@ -435,7 +435,7 @@ func (b *builder) init() {
|
||||
fatalf("%s", err)
|
||||
}
|
||||
if buildX || buildWork {
|
||||
fmt.Printf("WORK=%s\n", b.work)
|
||||
fmt.Fprintf(os.Stderr, "WORK=%s\n", b.work)
|
||||
}
|
||||
if !buildWork {
|
||||
atexit(func() { os.RemoveAll(b.work) })
|
||||
|
Loading…
Reference in New Issue
Block a user