Skip to content

Quote bare $@ in container entrypoints - #77

Open
hartikainen wants to merge 4 commits into
google-deepmind:mainfrom
hartikainen:fix-entrypoint-argv-forwarding
Open

hartikainen wants to merge 4 commits into
google-deepmind:mainfrom
hartikainen:fix-entrypoint-argv-forwarding

Conversation

@hartikainen

@hartikainen hartikainen commented Aug 27, 2026

Copy link
Copy Markdown

An unquoted trailing $@ re-splits argument values containing whitespace when entrypoint.sh forwards them. This rewrites them as "$@" while leaving commands that already forward quoted arguments unchanged.

This was diagnosed and fixed by an LLM.

An unquoted trailing `$@` re-splits argument values containing
whitespace when `entrypoint.sh` forwards them. This rewrites them as
`"$@"` while leaving commands that already forward quoted arguments
unchanged.
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