]> Cypherpunks repositories - gostls13.git/commitdiff
src: don't assume go is in PATH in buildall.bash
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 29 Apr 2015 22:05:45 +0000 (15:05 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 29 Apr 2015 22:08:01 +0000 (22:08 +0000)
Change-Id: I5569dcdefe8adba346810124b16721674956bce6
Reviewed-on: https://go-review.googlesource.com/9515
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/buildall.bash

index a3579af6995b18c142e3052d958271c599114589..89a4501bcb047fc4053cfaf74336c9816f08f44f 100755 (executable)
@@ -51,7 +51,7 @@ do
         export GOARCH=386
         export GO386=387
     fi
-    if ! go build -a std; then
+    if ! "$GOROOT/bin/go" build -a std; then
         failed=true
         if $sete; then
             exit 1