Skip to content

setup: Pass user arguments to the tool verbatim - #9

Merged
rborn-tx merged 1 commit into
toradex:nextfrom
rborn-tx:fix-arg-parsing
Sep 18, 2026
Merged

rborn-tx merged 1 commit into
toradex:nextfrom
rborn-tx:fix-arg-parsing

Conversation

@rborn-tx

Copy link
Copy Markdown
Collaborator

The invocation function joined its arguments into a single string and ran that through eval, so the shell parsed them a second time: quoted file names were split on spaces, semicolons turned into command separators and globs were expanded.

This should fix the situation...

@rborn-tx rborn-tx self-assigned this Sep 17, 2026
The invocation function joined its arguments into a single string and
ran that through eval, so the shell parsed them a second time: quoted
file names were split on spaces, semicolons turned into command
separators and globs were expanded. Only the generated Docker arguments
need eval, since they carry constructs such as "$(pwd)"; user arguments
now reach the tool as positional parameters, untouched.

Signed-off-by: Rogerio Guerra Borin <rogerio.borin@toradex.com>
@rborn-tx

Copy link
Copy Markdown
Collaborator Author

@lucas-akira I'm merging this PR so that you can use the next branch in your tests.

@rborn-tx
rborn-tx merged commit 9fe0219 into toradex:next Sep 18, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant