about summary refs log tree commit diff
path: root/qemu_mode
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-03-21 19:22:55 +0100
committerhexcoder- <heiko@hexco.de>2020-03-21 19:22:55 +0100
commit087bc6daebae057c303483059e5916b90f4c5d0c (patch)
tree343538255aaf899e26d5429a23c777a23dbc0f90 /qemu_mode
parentf18dbb0b4017e836edd03de8a241548b337ffcb4 (diff)
downloadafl++-087bc6daebae057c303483059e5916b90f4c5d0c.tar.gz
qemu_mode and unicorn_mode build scripts: replace type with command -v
Diffstat (limited to 'qemu_mode')
-rwxr-xr-xqemu_mode/build_qemu_support.sh2
1 files changed, 1 insertions, 1 deletions
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