mirror of
https://github.com/golang/go
synced 2024-11-08 08:56:16 -07:00
bbf480a8c5
all.bash passes argument to make.bash. Do the same for all.rc. Change-Id: Ic709c6b32c2986ca5acf16520be4ce7f1c058f5b Reviewed-on: https://go-review.googlesource.com/c/go/+/228891 Run-TryBot: Cherry Zhang <cherryyz@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
17 lines
388 B
Bash
Executable File
17 lines
388 B
Bash
Executable File
#!/bin/rc -e
|
|
# Copyright 2012 The Go Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style
|
|
# license that can be found in the LICENSE file.
|
|
|
|
rfork n
|
|
|
|
if(! test -f make.rc){
|
|
echo 'all.rc must be run from $GOROOT/src' >[1=2]
|
|
exit wrongdir
|
|
}
|
|
|
|
. ./make.rc --no-banner $*
|
|
bind -b $GOROOT/bin /bin
|
|
./run.rc --no-rebuild
|
|
$GOTOOLDIR/dist banner # print build info
|