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

Replace shebang with /usr/bin/env bash for improved portability #6876

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

Conversation

mateuszkwiatkowski
Copy link

The shebang has been updated from #!/bin/bash to #!/usr/bin/env bash to ensure better compatibility across different environments. This change was tested on NixOS using the following command:
nix-shell -p nodejs -p python3 -p poetry.

This modification should also make it easier to port the software to other operating systems, such as FreeBSD, by using a more flexible way of locating the bash interpreter.

The shebang has been updated from `#!/bin/bash` to `#!/usr/bin/env bash` to ensure better compatibility across different environments. This change was tested on NixOS using the following command:
`nix-shell -p nodejs -p python3 -p poetry`.

This modification should also make it easier to port the software to other operating systems, such as FreeBSD, by using a more flexible way of locating the `bash` interpreter.
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