From f5d25fd695471065a474b7940ef11e006d683aac Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Fri, 18 Oct 2013 15:03:41 +0900 Subject: [PATCH] misc/dist: build race packages when os suffix present The "darwin-amd64-osx10.8" target was not matching "darwin-amd64". R=golang-dev CC=golang-dev https://golang.org/cl/14930043 --- misc/dist/bindist.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/dist/bindist.go b/misc/dist/bindist.go index 38287a3385..a98f040e62 100644 --- a/misc/dist/bindist.go +++ b/misc/dist/bindist.go @@ -175,7 +175,7 @@ func main() { } if *includeRace { for _, t := range raceAvailable { - if t == targ { + if t == targ || strings.HasPrefix(targ, t+"-") { b.Race = true } } -- 2.50.0