Skip to content

Conversation

@cstamas
Copy link
Member

@cstamas cstamas commented Dec 30, 2025

Thus, preventing expansion, if applicable.

Fixes #10421

Thus, preventing expansion, if applicable.

Fixes apache#10421
@cstamas cstamas added this to the 4.1.0 milestone Dec 30, 2025
@cstamas cstamas requested a review from gnodet December 30, 2025 13:59
@cstamas cstamas self-assigned this Dec 30, 2025
@cstamas cstamas added the bug Something isn't working label Dec 30, 2025
@cstamas cstamas marked this pull request as ready for review December 30, 2025 14:49
@guylabs
Copy link
Contributor

guylabs commented Jan 30, 2026

@cstamas any update on this?

@cstamas
Copy link
Member Author

cstamas commented Jan 30, 2026

Someone should review this...

@desruisseaux
Copy link
Contributor

It looks fine to me, but I'm far from a bash expert…

@cstamas
Copy link
Member Author

cstamas commented Jan 30, 2026

@michael-o ping

# Add remaining arguments with proper quoting
for arg in "$@"; do
cmd="$cmd \"$arg\""
cmd="$cmd '$arg'"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This changes semantics "@" does already the quoting for us. I think this needs an IT.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, according to your comment, this change is not needed and the issue it fixes is fluke?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't say its fluke, but we need to understand what this change causes and an IT with it. I wouldn't easily apply it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[MNG-8672] Maven 4 CLI substitutes variable when single quoted

4 participants