Skip to content

Use more portable shebangs with /usr/bin/env bash#292

Merged
bcumming merged 2 commits into
eth-cscs:mainfrom
msimberg:shebang
May 18, 2026
Merged

Use more portable shebangs with /usr/bin/env bash#292
bcumming merged 2 commits into
eth-cscs:mainfrom
msimberg:shebang

Conversation

@msimberg
Copy link
Copy Markdown
Collaborator

@msimberg msimberg commented May 18, 2026

At the very least, the test scripts should use /usr/bin/env bash so that they can be run on systems where /bin/bash doesn't exist. Also changes /usr/bin/python3 to /usr/bin/env python3.

I'm unsure if we should leave the bwrap wrapper script and recipes.md files with /bin/bash? /usr/bin/env bash will work as well, but those are less critical to change.

@msimberg msimberg requested review from albestro and bcumming May 18, 2026 13:20
@msimberg msimberg marked this pull request as draft May 18, 2026 13:21
@msimberg msimberg marked this pull request as ready for review May 18, 2026 13:29
Copy link
Copy Markdown
Contributor

@albestro albestro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bcumming bcumming merged commit 2a0a677 into eth-cscs:main May 18, 2026
2 checks passed
@msimberg msimberg deleted the shebang branch May 18, 2026 16:12
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