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

nit(91-sbctl.install): consistent syntax for tests #310

Merged
merged 1 commit into from May 18, 2024

Conversation

MithicSpirit
Copy link
Contributor

@MithicSpirit MithicSpirit commented May 10, 2024

Unifies usage of testing commands like [], test, and [[]] to just
use [] everywhere. This also improves compatibility, as [[]] is not
available in POSIX sh.

N.B.: the script uses #!/bin/sh, so using [[]] as before can cause crashes
if the system has a symlink sh -> dash. This could also be fixed by changing
the shebang to use bash instead.

Unifies usage of testing commands like `[]`, `test`, and `[[]]` to just
use `[]` everywhere. This also improves compatibility, as `[[]]` is not
available in POSIX sh.
@Foxboron
Copy link
Owner

Thanks!

@Foxboron Foxboron merged commit bc64a6b into Foxboron:master May 18, 2024
6 checks passed
@MithicSpirit MithicSpirit deleted the posix branch May 18, 2024 22:29
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

2 participants