From 324b44872c4f292594889305886eea0d77208479 Mon Sep 17 00:00:00 2001 From: hexcoder- Date: Thu, 14 May 2020 21:13:36 +0200 Subject: unicornafl: python/module check with faster method --- unicorn_mode/build_unicorn_support.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'unicorn_mode') diff --git a/unicorn_mode/build_unicorn_support.sh b/unicorn_mode/build_unicorn_support.sh index a5b2b274..0833a71f 100755 --- a/unicorn_mode/build_unicorn_support.sh +++ b/unicorn_mode/build_unicorn_support.sh @@ -112,8 +112,7 @@ PYTHONS="`command -v python3` `command -v python` `command -v python2`" EASY_INSTALL_FOUND=0 for PYTHON in $PYTHONS ; do - # slow, but should work - if $PYTHON -c "help('modules');" 2>/dev/null | grep -q easy_install ; then + if $PYTHON -c "help('$EASY_INSTALL');"