diff options
| author | Russ Cox <rsc@golang.org> | 2010-08-24 20:00:33 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2010-08-24 20:00:33 -0400 |
| commit | aafe474ec9af1e0e8677df3eac3ef2c92fb946e9 (patch) | |
| tree | 27e90137da6cd68ddb193c7086290c35d80d0fd1 /src/run.bash | |
| parent | 2100f57e0fcb75d67176a217f48a67609c5a12ef (diff) | |
| download | go-aafe474ec9af1e0e8677df3eac3ef2c92fb946e9.tar.xz | |
build: $GOBIN defaults to $GOROOT/bin
R=r
CC=golang-dev
https://golang.org/cl/1982049
Diffstat (limited to 'src/run.bash')
| -rwxr-xr-x | src/run.bash | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/run.bash b/src/run.bash index dc66202983..0b37031c2b 100755 --- a/src/run.bash +++ b/src/run.bash @@ -4,7 +4,12 @@ # license that can be found in the LICENSE file. set -e -. ./env.bash +if [ "$1" = "--no-env" ]; then + # caller has already run env.bash + shift +else + . ./env.bash +fi unset MAKEFLAGS # single-threaded make unset CDPATH # in case user has it set |
