Skip to content

chore: Prefer [[ over [ in bash build scripts - #2543

Merged
mafredri merged 1 commit into
mainfrom
mafredri/build-script-cleanup
Jun 21, 2022
Merged

mafredri merged 1 commit into
mainfrom
mafredri/build-script-cleanup

Conversation

@mafredri

Copy link
Copy Markdown
Member

As discussed in #2533 (comment) this PR removes the (mixed) use of [ and [[, prefering [[.

Portable scripts like install.sh were not touched so as to support /bin/sh interpreters.

@mafredri mafredri self-assigned this Jun 21, 2022
@mafredri
mafredri requested a review from deansheather June 21, 2022 09:45
@mafredri
mafredri merged commit 64f0473 into main Jun 21, 2022
@mafredri
mafredri deleted the mafredri/build-script-cleanup branch June 21, 2022 16:51
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.

3 participants