1
0
mirror of https://github.com/golang/go synced 2024-09-29 13:24:28 -06:00

run.bat: check go.exe instead of go

Windows requires checking with the .exe extension.

Change-Id: I8e2fe83df81b92f04967bafb28f8effde999f597
Reviewed-on: https://go-review.googlesource.com/c/go/+/227157
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Egon Elbre 2020-04-03 20:01:25 +03:00 committed by Bryan C. Mills
parent 47ade08141
commit d78639519d

View File

@ -4,7 +4,7 @@
@echo off
if exist ..\bin\go goto ok
if exist ..\bin\go.exe goto ok
echo Must run run.bat from Go src directory after installing cmd/go.
goto fail
:ok