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

Using /usr/bin/env bash instead of /bin/bash #44

Closed
ShaolunWang opened this issue Sep 7, 2023 · 1 comment
Closed

Using /usr/bin/env bash instead of /bin/bash #44

ShaolunWang opened this issue Sep 7, 2023 · 1 comment
Labels

Comments

@ShaolunWang
Copy link

Currently /bin/bash is used in all the bash scripts. This would break on systems like NixOS which doesn not have /bin/bash because of its non standard file system. Is it possible to change it to /usr/bin/env bash instead?

@tomrijndorp
Copy link
Owner

Thanks for the suggestion. While I think this should generally work, there are some concerns around using this construct that I think are valid. Furthermore, with thousands of installs a change like this might break the extension in other people's environments, so I'm reluctant to implement this change at this point. I'd recommend to - if you have the permissions on this system - symlink your bash binary to /usr/bin/bash to address this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants