qemu_mode and unicorn_mode build scripts: replace type with command -v

This commit is contained in:
hexcoder-
2020-03-21 19:22:55 +01:00
parent f18dbb0b40
commit 087bc6daeb
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ fi
PREREQ_NOTFOUND=
for i in libtool wget python automake autoconf sha384sum bison flex iconv patch pkg-config; do
T=`type "$i" | awk '{print $NF}' 2>/dev/null`
T=`command -v "$i" 2>/dev/null`
if [ "$T" = "" ]; then