diff options
| author | Russ Cox <rsc@golang.org> | 2022-12-09 15:09:46 -0500 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-01-17 22:30:56 +0000 |
| commit | dbe327a640b5ac4d6c55b5d966224d3095f1cdde (patch) | |
| tree | dedead79d4b5839be5ef1860a4076006f7c8aa9c /src/cmd/internal/objabi | |
| parent | 627765a861c6762d15cfdfeb2f7e4872523edbe4 (diff) | |
| download | go-dbe327a640b5ac4d6c55b5d966224d3095f1cdde.tar.xz | |
make.bash, make.rc: fix GOROOT detection when GOEXPERIMENT is set
We need to clear GOEXPERIMENT any time we are invoking a bootstrap
toolchain. One line missed the clearing of GOEXPERIMENT.
There were three different lines using different syntaxes and subtly
different sets of variables being cleared, so hoist them into a function
so it's all in one place.
Also quote $GOROOT_BOOTSTRAP consistently.
Change-Id: I6c5a5d70c694c24705bbc61298b28ae906c0cf6c
Reviewed-on: https://go-review.googlesource.com/c/go/+/456635
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/cmd/internal/objabi')
0 files changed, 0 insertions, 0 deletions
