Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bake_flatcar_image: Fix check for empty sysext list #56

Merged
merged 2 commits into from
Apr 10, 2024
Merged

Conversation

jepio
Copy link
Member

@jepio jepio commented Apr 10, 2024

"${sysexts[@]}" expands every argument separately, while we need all array members to be expanded into a single string for the test to work. "${sysexts[*]}" is what we want.

"${sysexts[@]}" expands every argument separately, while we need all
array members to be expanded into a single string for the test to work.
"${sysexts[*]}" is what we want.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
@jepio jepio requested a review from a team April 10, 2024 08:03
@jepio
Copy link
Member Author

jepio commented Apr 10, 2024

Hold on

$sysexts is an array, so we need to specify the @ index to have all
entries passed to the function invocation. The current version passes
only the first entry.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
@jepio
Copy link
Member Author

jepio commented Apr 10, 2024

Now it's fixed.

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.

None yet

2 participants