]> Cypherpunks repositories - gostls13.git/commitdiff
all.rc: make sure the Go tools end up in /bin
authorAkshat Kumar <seed@mail.nanosouffle.net>
Fri, 22 Feb 2013 23:22:39 +0000 (00:22 +0100)
committerRon Minnich <rminnich@gmail.com>
Fri, 22 Feb 2013 23:22:39 +0000 (00:22 +0100)
At least one test (in package runtime) depends
on `go' being in $path. We simply bind GOROOT/bin
before /bin to make sure the latest copy of the
binary is accessible there.

R=rsc, rminnich, ality
CC=golang-dev
https://golang.org/cl/7391047

src/all.rc

index 04d4b255c05ff4fe25bf7f117f01e4c42f3e5c72..b9d4c32eb99affaffc16676d7f887f7659c9ca7a 100755 (executable)
@@ -9,5 +9,6 @@ if(! test -f make.rc){
 }
 
 . ./make.rc --no-banner
+bind -b $GOROOT/bin /bin
 ./run.rc --no-rebuild
 $GOTOOLDIR/dist banner  # print build info