That you’re using bash is an other problem which you also have.
But the issue I’m talking about is using the specific path /bin/bash, as that just reduces compatibility compared to going through env.
But the issue I’m talking about is using the specific path /bin/bash, as that just reduces compatibility compared to going through env.
the /usr/bin/env bash thing always just seemed like pointless cargo culting to me. never had this problem
“/usr/bin/env bash” will keep the shebang working between a Linux and FreeBSD (and probably other *NIX) machines. This bit me at one point, and it just became a habit since.
Bash (if installed) is in /usr/local/bin there. Other interpreters often are too.