mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-18 20:48:07 +00:00
qemu_mode and unicorn_mode build scripts: replace type with command -v
This commit is contained in:
@ -65,7 +65,7 @@ fi
|
|||||||
PREREQ_NOTFOUND=
|
PREREQ_NOTFOUND=
|
||||||
for i in libtool wget python automake autoconf sha384sum bison flex iconv patch pkg-config; do
|
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
|
if [ "$T" = "" ]; then
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ fi
|
|||||||
PREREQ_NOTFOUND=
|
PREREQ_NOTFOUND=
|
||||||
for i in $PYTHONBIN automake autoconf git $MAKECMD $TARCMD; do
|
for i in $PYTHONBIN automake autoconf git $MAKECMD $TARCMD; do
|
||||||
|
|
||||||
T=`type "$i" | awk '{print $NF}' 2>/dev/null`
|
T=`command -v "$i" 2>/dev/null`
|
||||||
|
|
||||||
if [ "$T" = "" ]; then
|
if [ "$T" = "" ]; then
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user