From 087bc6daebae057c303483059e5916b90f4c5d0c Mon Sep 17 00:00:00 2001 From: hexcoder- Date: Sat, 21 Mar 2020 19:22:55 +0100 Subject: qemu_mode and unicorn_mode build scripts: replace type with command -v --- qemu_mode/build_qemu_support.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qemu_mode') diff --git a/qemu_mode/build_qemu_support.sh b/qemu_mode/build_qemu_support.sh index 4cf84477..a0bd245c 100755 --- a/qemu_mode/build_qemu_support.sh +++ b/qemu_mode/build_qemu_support.sh @@ -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 -- cgit 1.4.1