diff options
author | Egon Elbre <egonelbre@gmail.com> | 2020-04-03 20:01:25 +0300 |
---|---|---|
committer | Bryan C. Mills <bcmills@google.com> | 2020-04-03 17:41:28 +0000 |
commit | d78639519df17bf7fb5a7facef007e90d6c0283c (patch) | |
tree | 5eb873973816d064cd43ac1c8039db8b38173a03 | |
parent | 47ade08141b23cfeafed92943e16012d5dc5eb8b (diff) | |
download | go-d78639519df17bf7fb5a7facef007e90d6c0283c.tar.gz go-d78639519df17bf7fb5a7facef007e90d6c0283c.zip |
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>
-rw-r--r-- | src/run.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/run.bat b/src/run.bat index 46858f8fa0..896c4ac3ec 100644 --- a/src/run.bat +++ b/src/run.bat @@ -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 |