Skip to content

Commit

Permalink
build: default GOROOT_BOOTSTRAP in make.{bash,bat} error msg from 1.4…
Browse files Browse the repository at this point in the history
… to 1.17

Fixes golang#54301
  • Loading branch information
cuiweixie committed Aug 11, 2022
1 parent de95dca commit eff1a38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/make.bash
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ IFS=$'\n'; for go_exe in $(type -ap go); do
done; unset IFS
if [ ! -x "$GOROOT_BOOTSTRAP/bin/go" ]; then
echo "ERROR: Cannot find $GOROOT_BOOTSTRAP/bin/go." >&2
echo "Set \$GOROOT_BOOTSTRAP to a working Go tree >= Go 1.4." >&2
echo "Set \$GOROOT_BOOTSTRAP to a working Go tree >= Go 1.17." >&2
exit 1
fi
# Get the exact bootstrap toolchain version to help with debugging.
Expand Down
2 changes: 1 addition & 1 deletion src/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ goto end

:bootstrapfail
echo ERROR: Cannot find %GOROOT_BOOTSTRAP%\bin\go.exe
echo Set GOROOT_BOOTSTRAP to a working Go tree ^>= Go 1.4.
echo Set GOROOT_BOOTSTRAP to a working Go tree ^>= Go 1.17.

:fail
set GOBUILDFAIL=1
Expand Down

0 comments on commit eff1a38

Please sign in to comment.