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

Only overwrite erl with dyn_erl if dyn_erl exists #926

Merged
merged 1 commit into from
Sep 1, 2022

Conversation

eproxus
Copy link
Contributor

@eproxus eproxus commented Sep 1, 2022

Some Erlang builds might not have the dyn_erl executable, so we can't assume it exists. Only overwrite it if it actually exists.

I have only manually verified that this works with our GRiSP plug-in (which releases from a custom Erlang build without dyn_erl). Couldn't figure out a simple way to test it. Let me know if you have any hints.

Some Erlang builds might not have the dyn_erl executable, so we can't
assume it exists. Only optionally overwrite it if it actually exists.
Copy link
Collaborator

@ferd ferd left a comment

Choose a reason for hiding this comment

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

The shelltest failures appear to be unrelated. I'm not sure what they'd be caused by but that ought to be out of scope for this.

I'll try re-running them and merge anyway otherwise.

@ferd ferd merged commit fc931c4 into erlware:main Sep 1, 2022
@eproxus eproxus deleted the eproxus/optional_dyn_erl branch September 2, 2022 08:55
@eproxus
Copy link
Contributor Author

eproxus commented Sep 2, 2022

@ferd Thank you! Looking forwards to a minor Rebar 3 version with the fix 🤞

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.

2 participants