From d78639519df17bf7fb5a7facef007e90d6c0283c Mon Sep 17 00:00:00 2001 From: Egon Elbre Date: Fri, 3 Apr 2020 20:01:25 +0300 Subject: 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 Run-TryBot: Bryan C. Mills TryBot-Result: Gobot Gobot --- src/run.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-54-g00ecf