Fix all.sh check_tools function to handle paths

This commit is contained in:
Andres AG 2017-01-31 17:04:45 +00:00
parent cb587009d6
commit 9839360a10

View file

@ -116,7 +116,7 @@ err_msg()
check_tools()
{
for TOOL in "$@"; do
if ! `hash "$TOOL" >/dev/null 2>&1`; then
if ! `type "$TOOL" >/dev/null 2>&1`; then
err_msg "$TOOL not found!"
exit 1
fi