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.ac: Fix bashisms #1820

Merged
merged 1 commit into from
Nov 18, 2022
Merged

configure.ac: Fix bashisms #1820

merged 1 commit into from
Nov 18, 2022

Conversation

thesamesam
Copy link
Contributor

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 [email protected]

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 <[email protected]>
@knet-ci-bot
Copy link

Can one of the admins verify this patch?

@fabbione
Copy link
Member

ok to test

@fabbione fabbione self-requested a review November 18, 2022 05:46
@fabbione
Copy link
Member

@thesamesam good catch, thanks for the patch.

@thesamesam
Copy link
Contributor Author

thanks!

@oalbrigt oalbrigt merged commit 3f53b43 into ClusterLabs:main Nov 18, 2022
@thesamesam thesamesam deleted the bashisms branch November 18, 2022 07:57
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.

None yet

4 participants