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 | c20cdfa5f9492adc011a0cb563a3d28a351c4751 (patch) | |
tree | bdd116f55d48ec27f9ebe3d897c9111a76cea45d | |
parent | 5b77819bc9c9de5b51cdca2c95b3b443ce7e1adf (diff) | |
download | go-c20cdfa5f9492adc011a0cb563a3d28a351c4751.tar.gz |
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://codereview.appspot.com/112100043
-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 2b62830a8..154d99ae9 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 |