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

Make sure that only expands existing response files #409

Merged
merged 3 commits into from
Nov 1, 2024

Conversation

ormandi
Copy link
Contributor

@ormandi ormandi commented Oct 29, 2024

Otherwise the parameter is more than likely a prefix of an @rpath so it is probably better off leaving as it is.

This simply ports the following fix: bazelbuild/bazel#13148

Resolves #408

@fmeum fmeum enabled auto-merge (squash) October 29, 2024 13:16
auto-merge was automatically disabled October 30, 2024 21:07

Head branch was pushed to by a user without write access

@ormandi
Copy link
Contributor Author

ormandi commented Oct 30, 2024

@fmeum - Thank you for the approval. Had the formatting issue auto fixed. Please take another look.

@fmeum fmeum enabled auto-merge (squash) October 31, 2024 19:37
fmeum pushed a commit that referenced this pull request Oct 31, 2024
I'm @ormandi's colleague and was following #409. It seems the formatter
wanting to remove quotes is due to Trunk by default using the `-s` flag
for `shfmt` to simplify code. Either there is a bug in `shfmt` that
makes it overly aggressive in removing quotes or what it's doing is
actually correct, but I'm not enough of a shell expert to tell.

This PR sidesteps the issue by customizes the Trunk config to avoid
passing `-s`.
Otherwise the parameter is more than likely a prefix of an `@rpath` so
it is probably better off leaving as it is.
@fmeum fmeum force-pushed the issue-408-porting-relpath-fix branch from 2f2bea3 to 7dbe9fc Compare November 1, 2024 07:43
@fmeum fmeum merged commit 17b9c6f into bazel-contrib:master Nov 1, 2024
35 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.

Paths with @rpath prefix does not seem to handled properly
2 participants