1
0
mirror of https://github.com/golang/go synced 2024-11-19 06:24:41 -07:00

nacltest.bash: set GOROOT before invoking cmd/go

The builder builds with GOROOT_FINAL=/usr/local/go set.

TBR=rsc
R=golang-codereviews
CC=golang-codereviews
https://golang.org/cl/112100043
This commit is contained in:
Shenghou Ma 2014-07-10 15:36:48 -04:00
parent 99e2a56786
commit 54d0b5ab6a

View File

@ -67,6 +67,9 @@ if [ ! -f make.bash ]; then
fi fi
GOOS=$GOHOSTOS GOARCH=$GOHOSTARCH ./make.bash GOOS=$GOHOSTOS GOARCH=$GOHOSTARCH ./make.bash
# the builder might have set GOROOT_FINAL.
export GOROOT=$(pwd)/..
# Build zip file embedded in package syscall. # Build zip file embedded in package syscall.
gobin=${GOBIN:-$(pwd)/../bin} gobin=${GOBIN:-$(pwd)/../bin}
rm -f pkg/syscall/fstest_nacl.go rm -f pkg/syscall/fstest_nacl.go