Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
f26b1f80
Commit
f26b1f80
authored
Mar 13, 2012
by
Alex Brainman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make.bat: properly handle directories with spaces
R=golang-dev, minux.ma CC=golang-dev
https://golang.org/cl/5797079
parent
4ca59a01
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/make.bat
src/make.bat
+6
-6
No files found.
src/make.bat
View file @
f26b1f80
...
...
@@ -46,8 +46,8 @@ if x%1==x--no-clean set buildall=
.\cmd\dist\dist
bootstrap
%buildall%
-v
if
errorlevel
1
goto
fail
:: Delay move of dist tool to now, because bootstrap cleared tool directory.
move
.\cmd\dist\dist.exe
%GOTOOLDIR%
\dist.exe
%GOTOOLDIR%
\go_bootstrap
clean
-i
std
move
.\cmd\dist\dist.exe
"
%GOTOOLDIR%
\dist.exe"
"
%GOTOOLDIR%
\go_bootstrap"
clean
-i
std
echo
.
if
not
%GOHOSTARCH%
==
%GOARCH%
goto
localbuild
...
...
@@ -59,20 +59,20 @@ echo # Building tools for local system. %GOHOSTOS%/%GOHOSTARCH%
setlocal
set
GOOS
=
%GOHOSTOS%
set
GOARCH
=
%GOHOSTARCH%
%GOTOOLDIR%
\go_bootstrap
install
-v
std
"
%GOTOOLDIR%
\go_bootstrap"
install
-v
std
endlocal
if
errorlevel
1
goto
fail
echo
.
:mainbuild
echo
#
Building
packages
and
commands
.
%GOTOOLDIR%
\go_bootstrap
install
-a -v
std
"
%GOTOOLDIR%
\go_bootstrap"
install
-a -v
std
if
errorlevel
1
goto
fail
del
%GOTOOLDIR%
\go_bootstrap.exe
del
"
%GOTOOLDIR%
\go_bootstrap.exe"
echo
.
if
x
%
1
==
x
-
-no-banner
goto
nobanner
%GOTOOLDIR%
\dist
banner
"
%GOTOOLDIR%
\dist"
banner
:nobanner
goto
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment