Closed jgabaut closed 2 months ago
Version 2.0.5
changes the shebangs to point to /usr/bin/env bash
, allowing an updated bash
to be picked up when on macOS
. This should have been done ages ago, about #58 .
This should have been closed earlier, since its main goal has been achieved.
At the moment the script's shebangs points to
/bin/bash
. While this is fine and dandy on most systems, onmacOS
(which still shipsbash 3.2
) this may lead to unknown errors.This is mostly because the newer
bash
you can get fromhomebrew
will reside somewhere like/opt/homebrew/bin/bash
.I don't think running
chsh
and updating the shells info does anything to change which program will correspond to/bin/bash
...Needs further investigation.
To show the unexpected behaviour on
macOS
:brew install bash
and install the recent oneamboso
bash
version<4
can be seen, something likeamboso
script is still/bin/bash
.