diff options
| author | Shenghou Ma <minux@golang.org> | 2014-07-10 15:36:48 -0400 |
|---|---|---|
| committer | Shenghou Ma <minux@golang.org> | 2014-07-10 15:36:48 -0400 |
| commit | 54d0b5ab6a45dd9c0d8cf27ada3200c2f5ec6b28 (patch) | |
| tree | 502fb5a745675727a88c9a99feb3f20c36c4562c /src | |
| parent | 99e2a5678601b7452172283d02f5da5cacad6fa2 (diff) | |
| download | go-54d0b5ab6a45dd9c0d8cf27ada3200c2f5ec6b28.tar.xz | |
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
Diffstat (limited to 'src')
| -rwxr-xr-x | src/nacltest.bash | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nacltest.bash b/src/nacltest.bash index 2b62830a88..154d99ae98 100755 --- a/src/nacltest.bash +++ b/src/nacltest.bash @@ -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 |
