From 9fba2a17c2daa877ba3fc0df24ac531c842ce632 Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Fri, 15 Apr 2011 11:56:56 +1000 Subject: [PATCH] gobuilder: permit builders of the form goos-goarch-foo R=dfc CC=golang-dev https://golang.org/cl/4416044 --- misc/dashboard/builder/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/dashboard/builder/main.go b/misc/dashboard/builder/main.go index 735717e28d..25cc5d3c2c 100644 --- a/misc/dashboard/builder/main.go +++ b/misc/dashboard/builder/main.go @@ -185,7 +185,7 @@ func NewBuilder(builder string) (*Builder, os.Error) { // get goos/goarch from builder string s := strings.Split(builder, "-", 3) - if len(s) == 2 { + if len(s) >= 2 { b.goos, b.goarch = s[0], s[1] } else { return nil, fmt.Errorf("unsupported builder form: %s", builder) -- 2.50.0