]> Cypherpunks repositories - gostls13.git/commitdiff
run.bat: check go.exe instead of go
authorEgon Elbre <egonelbre@gmail.com>
Fri, 3 Apr 2020 17:01:25 +0000 (20:01 +0300)
committerBryan C. Mills <bcmills@google.com>
Fri, 3 Apr 2020 17:41:28 +0000 (17:41 +0000)
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>

src/run.bat

index 46858f8fa0b1b6e2fc46970f88176a4f155288ef..896c4ac3eca52a954711f41868cdda0f29ea4346 100644 (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