Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Pass -build_flags as Multiple Args#357

Merged
codyoss merged 1 commit intogolang:masterfrom
minicuts:build-flags-fix
Dec 20, 2019
Merged

Pass -build_flags as Multiple Args#357
codyoss merged 1 commit intogolang:masterfrom
minicuts:build-flags-fix

Conversation

@minicuts
Copy link
Copy Markdown
Contributor

Value of -build_flags was passed to 'go' as a single argument.
For example when passing -build_flags "-mod vendor", the invoked
commandline was go -mod\ vendor and the go command errored out because
there is no such arg.

That has caused confusion, e.g. in #296

Solve this by splitting the argument by a space.

Value of -build_flags was passed to 'go' as a single argument.
For example when passing -build_flags "-mod vendor", the invoked
commandline was `go -mod\ vendor` and the go command errored out because
there is no such arg.

That has caused confusion, e.g. in golang#296

Solve this by splitting the argument by a space.
@codyoss codyoss merged commit 45682d7 into golang:master Dec 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants