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
cronic script problem on FreeBSD #3048
Comments
@mayheart are you running multiple versions of bash or does bash on FreeBSD just have an odd path? Perhaps linking bash to /bin/bash might be a better solution. |
bash isn't part of the default OS on FreeBSD, it's an additional package which gets installed to /usr/local/bin |
Wouldn't it be better to just I usually only see /usr/bin/env used when the executable can be switched by a tool (such as python). This does add the ability for bash to be found anywhere in $PATH, which could lead to unexpected or insecure behavior. Just want to make sure before accepting this change... |
We use env in all other scripts hence the initial suggestion I expect. I'd personally not be concerned over $PATH misuse. |
sounds fine. |
For cronic can we get the script helper changed from
!/bin/bash to
!/usr/bin/env bash
This shouldn't break the script on other platforms.
The text was updated successfully, but these errors were encountered: