Skip to content

bash: Use /usr/bin/env to make it distro agnostic#1356

Open
JohnAZoidberg wants to merge 1 commit intothesofproject:mainfrom
FrameworkComputer:env
Open

bash: Use /usr/bin/env to make it distro agnostic#1356
JohnAZoidberg wants to merge 1 commit intothesofproject:mainfrom
FrameworkComputer:env

Conversation

@JohnAZoidberg
Copy link

Not all distributions have bash at /bin/bash, for example NixOS does not. But /usr/bin/env bash works on every distribution because its finds bash from the PATH.

Not all distributions have bash at /bin/bash, for example NixOS does
not. But `/usr/bin/env bash` works on every distribution because its
finds bash from the PATH.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
@sofci
Copy link
Collaborator

sofci commented Mar 20, 2026

Can one of the admins verify this patch?

reply test this please to run this test once

Copy link
Collaborator

@marc-hb marc-hb left a comment

Choose a reason for hiding this comment

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

test this please

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