erlware / relx

Sane, simple release creation for Erlang
http://erlware.github.io/relx
Apache License 2.0
696 stars 233 forks source link

Only overwrite erl with dyn_erl if dyn_erl exists #926

Closed eproxus closed 2 years ago

eproxus commented 2 years ago

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.

eproxus commented 2 years ago

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