mirror of
https://github.com/golang/go
synced 2024-10-01 13:18:33 -06: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:
parent
99e2a56786
commit
54d0b5ab6a
@ -67,6 +67,9 @@ if [ ! -f make.bash ]; then
|
||||
fi
|
||||
GOOS=$GOHOSTOS GOARCH=$GOHOSTARCH ./make.bash
|
||||
|
||||
# the builder might have set GOROOT_FINAL.
|
||||
export GOROOT=$(pwd)/..
|
||||
|
||||
# Build zip file embedded in package syscall.
|
||||
gobin=${GOBIN:-$(pwd)/../bin}
|
||||
rm -f pkg/syscall/fstest_nacl.go
|
||||
|
Loading…
Reference in New Issue
Block a user