From: Russ Cox Date: Fri, 10 Feb 2012 06:27:59 +0000 (-0500) Subject: builder: set $GOBUILDEXIT for Windows X-Git-Tag: weekly.2012-02-14~147 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=0bc6836e81223a82653c44a4a6023e762a1e51cc;p=gostls13.git builder: set $GOBUILDEXIT for Windows Actually %GOBUILDEXIT% I suppose. R=golang-dev CC=golang-dev https://golang.org/cl/5651058 --- diff --git a/misc/dashboard/builder/main.go b/misc/dashboard/builder/main.go index bce930d402..1ba8e579e5 100644 --- a/misc/dashboard/builder/main.go +++ b/misc/dashboard/builder/main.go @@ -478,6 +478,7 @@ func (b *Builder) envv() []string { "GOOS=" + b.goos, "GOARCH=" + b.goarch, "GOROOT_FINAL=/usr/local/go", + "GOBUILDEXIT=1", // On Windows, exit all.bat with completion status. } for _, k := range extraEnv { s, err := os.Getenverror(k) diff --git a/src/all.bat b/src/all.bat index feaf4e65df..4389a528d2 100644 --- a/src/all.bat +++ b/src/all.bat @@ -16,4 +16,4 @@ if %GOBUILDFAIL%==1 goto end ..\bin\tool\dist banner :end -exit %GOBUILDFAIL% +if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL%