Use /usr/bin/env instead of /bin/bash#2038
Conversation
- This makes it possible for NixOS and non-Linux users to build Adonis without running into problems with the shebang.
|
I even think sh should be used instead of bash |
|
For better compatibility |
I guess you could use
it's still a mess on non-Linux environments, although the scripts' POSIX enough (it's just a few lines) that I don't think it'd matter that much. |
|
How about |
I was initially planning on ... although I kept bash as for possible compatibility issues. Will rebase my branch to use |
| @@ -1,4 +1,4 @@ | |||
| #!/bin/bash | |||
| #!/usr/bin/env bash | |||
There was a problem hiding this comment.
Change bash to sh as per discussion.
This PR makes it possible for NixOS and non-Linux users to build Adonis without running into problems with the shebang.