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

build: fix bashisms in configure #1595

Merged
merged 1 commit into from
Nov 17, 2022
Merged

build: fix bashisms in configure #1595

merged 1 commit into from
Nov 17, 2022

Conversation

rhc54
Copy link
Contributor

@rhc54 rhc54 commented Nov 17, 2022

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.

Signed-off-by: Sam James sam@gentoo.org
(cherry picked from commit c623f47)

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.

Signed-off-by: Sam James <sam@gentoo.org>
(cherry picked from commit c623f47)
@rhc54 rhc54 merged commit bd7d6a1 into openpmix:v3.0 Nov 17, 2022
@rhc54 rhc54 deleted the cmr30/cfg branch November 17, 2022 17:39
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