Closed Mikaela closed 9 years ago
Using /usr/bin/env bash instead of /bin/bash is more portable and also works if user has their own bash outside of /bin.
/usr/bin/env bash
/bin/bash
/bin
For example many people installed bash from homebrew on OS X while Apple was taking a long time to fix shellshock.
Using
/usr/bin/env bash
instead of/bin/bash
is more portable and also works if user has their own bash outside of/bin
.For example many people installed bash from homebrew on OS X while Apple was taking a long time to fix shellshock.