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

Use /usr/bin/env to invoke bash #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

someplaceguy
Copy link

Not all UNIX-based systems, or even all Linux systems, have bash in /bin.

However, having /usr/bin/env is significantly more common to the point where NixOS doesn't have /bin, /sbin or even /usr, except for the single /usr/bin/env file, precisely due to this issue.

PS: Thank you for these scripts, they are really, really useful!

Not all UNIX-based systems, or even all Linux systems, have bash
in /bin.

However, having /usr/bin/env is significantly more common to the
point where NixOS doesn't have /bin, /sbin or even /usr, *except*
for the single `/usr/bin/env` file, precisely due to this issue.
@someplaceguy
Copy link
Author

someplaceguy commented Nov 11, 2023

See seL4/seL4#111, seL4/seL4#511 or seL4/seL4-CAmkES-L4v-dockerfiles#55 for examples of similar issues affecting another project.

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.

1 participant