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

configure: fix bashisms #1336

Merged
merged 1 commit into from
Jul 26, 2024
Merged

configure: fix bashisms #1336

merged 1 commit into from
Jul 26, 2024

Conversation

thesamesam
Copy link
Contributor

See also zeromq/libzmq@3b26401.

configure scripts need to be runnable with a POSIX-compliant /bin/sh.

On many (but not all!) systems, /bin/sh is provided by Bash, so errors like this aren't spotted. Notably Debian defaults to /bin/sh provided by dash which doesn't tolerate such bashisms as '=='.

This retains compatibility with bash.

See also zeromq/libzmq@3b26401.

configure scripts need to be runnable with a POSIX-compliant /bin/sh.

On many (but not all!) systems, /bin/sh is provided by Bash, so errors
like this aren't spotted. Notably Debian defaults to /bin/sh provided
by dash which doesn't tolerate such bashisms as '=='.

This retains compatibility with bash.
@sappo sappo merged commit 9810e78 into zeromq:master Jul 26, 2024
43 of 47 checks passed
@thesamesam thesamesam deleted the bashism branch July 26, 2024 11:17
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