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

Pass -build_flags as Multiple Args #357

Merged
merged 1 commit into from Dec 20, 2019

Conversation

nguyenfilip
Copy link
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.

None yet

2 participants