mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-05-29 11:07:07 +00:00
Fix all.sh check_tools function to handle paths
This commit is contained in:
parent
48776350b2
commit
63cc716575
|
@ -193,7 +193,7 @@ err_msg()
|
||||||
check_tools()
|
check_tools()
|
||||||
{
|
{
|
||||||
for TOOL in "$@"; do
|
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!"
|
err_msg "$TOOL not found!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue