Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/goPublic

Commit32d59a5

Browse files
committed
[release-branch.go1] src/all.bat: fix banner
««« backport 2f7827571b44src/all.bat: fix bannerwe need to restore %PATH% before calling "dist banner", so thatit could suggest the user to add %GOROOT%/bin to %PATH% if necessary.R=golang-dev, bradfitzCC=golang-devhttps://golang.org/cl/6525049»»»
1 parent1a18d27 commit32d59a5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/all.bat‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ call make.bat --no-banner --no-local
1616
if%GOBUILDFAIL%==1goto end
1717
call run.bat --no-rebuild --no-local
1818
if%GOBUILDFAIL%==1goto end
19-
go tool dist banner
19+
:: we must restore %PATH% before running "dist banner" so that the latter
20+
:: can get the original %PATH% and give suggestion to add %GOROOT%/bin
21+
:: to %PATH% if necessary.
2022
setPATH=%OLDPATH%
23+
%GOTOOLDIR%/dist banner
2124

2225
:end
2326
if x%GOBUILDEXIT%==x1exit%GOBUILDFAIL%

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp