From: Andrew Gerrand Date: Thu, 31 Oct 2013 23:50:00 +0000 (+1100) Subject: [release-branch.go1.2] misc/dist: build race packages when os suffix present X-Git-Tag: go1.2rc3~41 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c1792398d40979beadf97f88c0954a67b0a70b1e;p=gostls13.git [release-branch.go1.2] misc/dist: build race packages when os suffix present ««« CL 14930043 / 5746e3a5443b 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 »»» R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/20290045 --- 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 } }