diff options
author | Russ Cox <rsc@golang.org> | 2010-08-18 10:08:49 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2010-08-18 10:08:49 -0400 |
commit | da392d9136b56b28d901aacf9fe79996bf729c65 (patch) | |
tree | 049d4382b068bdd59ecec8dad9617bbb3be5f512 /src/all.bash | |
parent | 31339c32244a58263dd2f375d0c32d5f0ac596e5 (diff) | |
download | go-git-da392d9136b56b28d901aacf9fe79996bf729c65.tar.gz |
build: no required environment variables
R=adg, r, PeterGo
CC=golang-dev
https://golang.org/cl/1942044
Diffstat (limited to 'src/all.bash')
-rwxr-xr-x | src/all.bash | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/all.bash b/src/all.bash index 00c1ca74dd..4a98fe9f6b 100755 --- a/src/all.bash +++ b/src/all.bash @@ -4,5 +4,11 @@ # license that can be found in the LICENSE file. set -e -bash make.bash +if [ ! -f make.bash ]; then + echo 'all.bash must be run from $GOROOT/src' 1>&2 + exit 1 +fi +. ./make.bash bash run.bash --no-rebuild +installed # function defined by make.bash + |