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

Fix cibuildwheel before-all configuration #403

Merged
merged 1 commit into from
Jun 14, 2023

Conversation

godlygeek
Copy link
Contributor

If you provide multiple commands, cibuildwheel naively stitches them together into one shell command by concatenating them with && in between. That changes the meaning of a shell || (it winds up running if a completely unrelated command fails).

Fix this by switching from || to an if statement.

@godlygeek godlygeek self-assigned this Jun 14, 2023
If you provide multiple commands, `cibuildwheel` naively stitches them
together into one shell command by concatenating them with `&&` in
between. That changes the meaning of a shell `||` (it winds up running
if a completely unrelated command fails).

Fix this by switching from `||` to an `if` statement.

Signed-off-by: Matt Wozniski <mwozniski@bloomberg.net>
@godlygeek godlygeek marked this pull request as ready for review June 14, 2023 22:32
@pablogsal pablogsal merged commit 2470c2b into bloomberg:main Jun 14, 2023
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants