bloomberg / memray

Memray is a memory profiler for Python
https://bloomberg.github.io/memray/
Apache License 2.0
13.36k stars 397 forks source link

Fix cibuildwheel `before-all` configuration #403

Closed godlygeek closed 1 year ago

godlygeek commented 1 year ago

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.