src/all.rc
raw| 1 | #!/bin/rc -e |
| 2 | # Copyright 2012 The Go Authors. All rights reserved. |
| 3 | # Use of this source code is governed by a BSD-style |
| 4 | # license that can be found in the LICENSE file. |
| 5 | |
| 6 | rfork n |
| 7 | |
| 8 | if(! test -f make.rc){ |
| 9 | echo 'all.rc must be run from $GOROOT/src' >[1=2] |
| 10 | exit wrongdir |
| 11 | } |
| 12 | |
| 13 | . ./make.rc --no-banner $* |
| 14 | bind -b $GOROOT/bin /bin |
| 15 | ./run.rc --no-rebuild |
| 16 | ../bin/go tool dist banner # print build info |