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

otp-23 support and new env var ERL_DIST_PORT #795

Merged
merged 1 commit into from
May 14, 2020

Conversation

tsloughter
Copy link
Member

new parts of OTP-23 include setting remote_nodename to undefined
when caling for a remote console and using -address in erl_call

To support -address and to make epmdless easier the env var
ERL_DIST_PORT has been added. This port is used to set the
min and max listen port to it and used in -address so that
erl_call works for nodes not using epmd.

new parts of OTP-23 include setting remote_nodename to undefined
when caling for a remote console and using -address in erl_call

To support -address and to make epmdless easier the env var
ERL_DIST_PORT has been added. This port is used to set the
min and max listen port to it and used in -address so that
erl_call works for nodes not using epmd.
@tsloughter tsloughter requested a review from ferd May 14, 2020 14:54
@@ -271,7 +271,7 @@ relx_rem_sh() {
# if it is then we must generate a node name to use for the remote node
if [ "11.0" = "$(printf "%s\n11.0" "${ERTS_VSN}" | sort -V | head -n1)" ] ; then
Copy link
Collaborator

Choose a reason for hiding this comment

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

will this break on 12.0?

Copy link
Member Author

Choose a reason for hiding this comment

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

Na. It adds 11.0 to the list of versions with the current erts vsn, then sorts and sees if the sorted versions has 11.0 first. If it doesn't that means we are earlier than 11.0 and if it does that means we are at 11.0 or later.

@tsloughter tsloughter merged commit 6283af3 into erlware:4.0.0 May 14, 2020
@tsloughter tsloughter deleted the epmdless branch May 14, 2020 15:13
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