]> Cypherpunks repositories - gostls13.git/commit
cmd/go: don't give an error for an attempt to recreate a symlink
authorIan Lance Taylor <iant@golang.org>
Fri, 4 May 2018 23:44:05 +0000 (16:44 -0700)
committerIan Lance Taylor <iant@golang.org>
Sat, 5 May 2018 00:54:52 +0000 (00:54 +0000)
commitf7c767edc52e0989b58083c43241a1f21d82915f
treeb39145907eb16e9796a29b755d71ee1c29b6e474
parent2a7e19e0383430d75dcef9637c0c6dcaf64127d5
cmd/go: don't give an error for an attempt to recreate a symlink

When building for gccgo cmd/go uses symlinks for import maps.
In some cases, such as TestVendorTest, it generates the same symlink
multiple times. Don't give an error when this happens.

Change-Id: Iecc154ea1ac53d7c5427b36795881909c5cac7e3
Reviewed-on: https://go-review.googlesource.com/111636
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/go/internal/work/exec.go