Skip to content

rabbit_runtime: Improve get_erl_path/0 (backport #10020) #10040

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

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Dec 4, 2023

This is an automatic backport of pull request #10020 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

[Why]
The previous implementation assumed that ERTS was in the Erlang root
dir. This is true for a standard Erlang install. However, it's not the
case of an Erlang release that does not include the runtime.

[How]
The bin directory (`bindir`) is already available as an argument to
init. We can simply query it and use the value as is.

(cherry picked from commit fdbf0ef)
@dumbbell dumbbell merged commit 1983fec into v3.12.x Dec 4, 2023
@dumbbell dumbbell deleted the mergify/bp/v3.12.x/pr-10020 branch December 4, 2023 16:14
@dumbbell dumbbell added this to the 3.12.11 milestone Dec 4, 2023
dumbbell added a commit that referenced this pull request Dec 4, 2023
rabbit_runtime: Improve get_erl_path/0 (backport #10020) (backport #10040)
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