You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
771: Fix parsing of docker options. r=Emilgardis a=Alexhuszagh
Fix parsing `DOCKER_OPTS` to correctly parse them as shell words, rather than splitting on whitespace.
Closes#769.
Co-authored-by: Alex Huszagh <[email protected]>
Checklist
Describe your issue
DOCKER_OPTS
isn't parsed correctly, splitting on white-space which causes issues in some cases.What target(s) are you cross-compiling for?
other (specify in description)
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.1 (ee2fc1b 2022-06-08)
Example
Running the following command will produce docker options such as the following:
Command
DOCKER_OPTS='-v "/mnt/c/Program Files/Git":/git' CROSS_CONTAINER_ENGINE=podman \ cross build --target mips64-unknown-linux-gnuabi64 --verbose
Parsed
Likewise, explicitly setting
DOCKER_OPTS
to an empty string (a valid option) gives us the following, which is invalid:Additional information / notes
No response
The text was updated successfully, but these errors were encountered: