changed all shebangs to use /usr/bin/env to improve compatibility#1652
changed all shebangs to use /usr/bin/env to improve compatibility#1652The-M1k3y wants to merge 1 commit intoGameServerManagers:masterfrom
Conversation
|
I am unsure if this is the best option |
|
I can't think of a reason why bash would be installed in a non-standard path. Could you provide an example? |
|
I'm currently setting up my servers with NixOS, which has the bash executable at /run/current-system/sw/bin/bash. |
|
Well, that is something to test on supported distro First, including legacy distro. If that only adds more compatibility with no disavantages as you claim, then why not. But, can't you just symlink /run/current-system/sw/bin/bash and /bin/bash ? |
|
Yes, I could just symlink the bash to /bin/bash, but that would counterfeit the whole concept of NixOS (since /run/current-system/sw/bin/bash itself is only a symlink). |
|
Closing as no further action required currently |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
By changing the shebangs the scripts can be used on systems with non-standard paths without the need to modify them.