mirror of
https://github.com/golang/go
synced 2024-11-21 21:24:45 -07:00
builder: set $GOBUILDEXIT for Windows
Actually %GOBUILDEXIT% I suppose. R=golang-dev CC=golang-dev https://golang.org/cl/5651058
This commit is contained in:
parent
ce63ec93ce
commit
0bc6836e81
@ -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)
|
||||
|
@ -16,4 +16,4 @@ if %GOBUILDFAIL%==1 goto end
|
||||
..\bin\tool\dist banner
|
||||
|
||||
:end
|
||||
exit %GOBUILDFAIL%
|
||||
if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL%
|
||||
|
Loading…
Reference in New Issue
Block a user