]> Cypherpunks repositories - gostls13.git/commit
run.{bash,bat,rc}: use ../bin/go instead of the go binary in $PATH
authorBryan C. Mills <bcmills@google.com>
Tue, 17 Mar 2020 14:22:39 +0000 (10:22 -0400)
committerBryan C. Mills <bcmills@google.com>
Fri, 27 Mar 2020 15:43:51 +0000 (15:43 +0000)
commitf9197a7043e48b6d2caa5ea1b0a969495f998d48
treef8740ef8357c60083161cc9488da757cd120e108
parent827a7a92248b9e1b67659bb2257e83e3a7e40d2d
run.{bash,bat,rc}: use ../bin/go instead of the go binary in $PATH

https://golang.org/doc/contribute.html#quick_test currently suggests
running 'make.bash' and 'run.bash' separately, but 'run.bash'
potentially uses a 'go' command resolved from the wrong GOROOT,
which in turn sets the wrong GOROOT for further commands.

Updates #32674
Updates #17896

Change-Id: I4925d478d0fc7351c4f6d40830ab17d4d688348d
Reviewed-on: https://go-review.googlesource.com/c/go/+/223741
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Katie Hockman <katie@golang.org>
src/run.bash
src/run.bat
src/run.rc