Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@behrmann
Copy link
Contributor

Template the options definitions directly into the completion function, since for some weird scoping reasons even though the script is read fine and when running a shell with set -x one can see e.g. _mkosi_options being assigned the proper values, the completion function still uses '' for "${_mkosi_options[*]}".

This wasn't caught during development because the script works fine when sourced.

Template the options definitions directly into the completion function, since
for some weird scoping reasons even though the script is read fine and when
running a shell with set -x one can see e.g. _mkosi_options being assigned the
proper values, the completion function still uses '' for
"${_mkosi_options[*]}".

This wasn't caught during development because the script works fine when
sourced.
@behrmann
Copy link
Contributor Author

Thanks at Arch's gromit for catching this.

@DaanDeMeyer DaanDeMeyer merged commit 7f2a5e4 into systemd:main Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants