Skip to content

Commit

Permalink
run.bat: check go.exe instead of go
Browse files Browse the repository at this point in the history
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 <[email protected]>
Run-TryBot: Bryan C. Mills <[email protected]>
TryBot-Result: Gobot Gobot <[email protected]>
  • Loading branch information
egonelbre authored and Bryan C. Mills committed Apr 3, 2020
1 parent 47ade08 commit d786395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/run.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d786395

Please sign in to comment.