Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use POSIX standard technique for testing existance of a command
Fixes issue #73. macOS dirname does not have a `--version` option, which was making the script fail on macOS. This technique should be POSIX compliant and more crossplatform. Solution taken from: https://stackoverflow.com/questions/592620/how-can-i-check-if-a-program-exists-from-a-bash-script
- Loading branch information