From c20cdfa5f9492adc011a0cb563a3d28a351c4751 Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Thu, 10 Jul 2014 15:36:48 -0400 Subject: 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 --- src/nacltest.bash | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/nacltest.bash') 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 -- cgit v1.2.1