Update command_exists to work on macOS

This commit is contained in:
0xmachos
2018-03-25 11:31:24 +01:00
parent ef1d3242f8
commit 0d26f9f0bc

View File

@@ -17,7 +17,7 @@ RUBYSUFFIX=''
command_exists () { command_exists () {
command -v "$1" /dev/null 2&>/dev/null command -v "${1}" >/dev/null 2>&1
} }