mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-01-06 06:28:56 +01:00
Fix all.sh check_tools function to handle paths
This commit is contained in:
parent
cb587009d6
commit
9839360a10
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,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…
Add table
Add a link
Reference in a new issue