]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: tolerate macOS writing .DS_Store to GOROOT/bin
authorDmitri Shuralyov <dmitshur@golang.org>
Sat, 29 Jul 2023 20:33:13 +0000 (16:33 -0400)
committerGopher Robot <gobot@golang.org>
Tue, 1 Aug 2023 22:28:15 +0000 (22:28 +0000)
commitf719de079871f51998e735fc51b3891d50217262
treed50018850c014d0a00425034b60458ab40d321ce
parentf32e0c30e4a002cda2dbb5e628a7f1047e304e01
cmd/dist: tolerate macOS writing .DS_Store to GOROOT/bin

I was trying out gorebuild (a program that runs make.bash many times)
on a macOS system. Unfortunately there were a few failed invocations
on my first try, but not with a very good or interesting reason:

go tool dist: unexpected new file in $GOROOT/bin: .DS_Store

Tolerate it since it's not unexpected, and will not affect the build.

Change-Id: I656536b896098c2ba934667196d4ce82e706c8da
Reviewed-on: https://go-review.googlesource.com/c/go/+/513763
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
src/cmd/dist/build.go