diff options
| author | Florin Pățan <florinpatan@gmail.com> | 2018-07-19 12:05:28 +0000 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-08-25 22:39:17 +0000 |
| commit | d145d923f894f3ef2faae52ca05321ef3d5bee7e (patch) | |
| tree | 0d92853a5f6ab06c4d0e3e5377303dfdaa71380e /src | |
| parent | f2ed3e1da16ba02543268b14d962e1026257604e (diff) | |
| download | go-d145d923f894f3ef2faae52ca05321ef3d5bee7e.tar.xz | |
cmd/dist: fix compilation on windows
Add missing extensions to binary files in order to allow execution.
Change-Id: Idfe4c72c80c26b7b938023bc7bbe1ef85e1aa7b0
Change-Id: Idfe4c72c80c26b7b938023bc7bbe1ef85e1aa7b0
GitHub-Last-Rev: ed9d8124270c30b7f25f89656432ef5089466c7e
GitHub-Pull-Request: golang/go#26464
Reviewed-on: https://go-review.googlesource.com/124936
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/make.bat | 4 | ||||
| -rw-r--r-- | src/race.bat | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/make.bat b/src/make.bat index 2e718334a2..590e639830 100644 --- a/src/make.bat +++ b/src/make.bat @@ -80,7 +80,7 @@ set GOBIN= "%GOROOT_BOOTSTRAP%\bin\go" build -o cmd\dist\dist.exe .\cmd\dist endlocal if errorlevel 1 goto fail -.\cmd\dist\dist env -w -p >env.bat +.\cmd\dist\dist.exe env -w -p >env.bat if errorlevel 1 goto fail call env.bat del env.bat @@ -104,7 +104,7 @@ if x%4==x--no-banner set buildall=%buildall% --no-banner :: Run dist bootstrap to complete make.bash. :: Bootstrap installs a proper cmd/dist, built with the new toolchain. :: Throw ours, built with Go 1.4, away after bootstrap. -.\cmd\dist\dist bootstrap %vflag% %buildall% +.\cmd\dist\dist.exe bootstrap %vflag% %buildall% if errorlevel 1 goto fail del .\cmd\dist\dist.exe goto end diff --git a/src/race.bat b/src/race.bat index e8df480811..e1c3fbf5d9 100644 --- a/src/race.bat +++ b/src/race.bat @@ -18,7 +18,7 @@ goto end set GOROOT=%CD%\.. call make.bat --dist-tool >NUL if errorlevel 1 goto fail -.\cmd\dist\dist env -w -p >env.bat +.\cmd\dist\dist.exe env -w -p >env.bat if errorlevel 1 goto fail call env.bat del env.bat |
