Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use /usr/bin/env bash rather than /bin/bash (#336)
get_main_pkgs.sh uses 'mapfile' which is not available in Bash versions earlier than 4.x. On machines where the default installed bash is 3.x (OSX), this causes `make precommit` to break. However, it's easy enough to install a recent version of bash (e.g. via homebrew) in `/usr/local/bin/bash`. With `/usr/local/bin` in your path, and `/usr/bin/env bash` as the shebang line, this enables `make precommit` to pass with flying colors.
- Loading branch information