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

Fix misleading version output #425

Merged

Conversation

paulo-ferraz-oliveira
Copy link
Contributor

Closes #310.

kerl seems to be doing the right stuff. It's the echo that's misleading.

A first commit will make the error evident, while a second commit (opening as draft) will use variable names different from $1, $2, to make this a bit more readable.

exit 1
fi
l=n stderr "Building Erlang/OTP $3 from git, please wait..."
l=n stderr "Building Erlang/OTP $git_version from git, please wait..."
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is basically the fix (more evident in a previous commit)...

@paulo-ferraz-oliveira paulo-ferraz-oliveira marked this pull request as ready for review November 29, 2022 21:43
@jadeallenx jadeallenx merged commit 5c9d8ff into kerl:master Nov 29, 2022
@jadeallenx
Copy link
Collaborator

Thanks!

@paulo-ferraz-oliveira paulo-ferraz-oliveira deleted the fix/do_git_build-echoed-version branch November 29, 2022 22:20
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.

OTP_VERSION for 22 while git tag OTP-21.2.3
2 participants