about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhexcoder <hexcoder-@users.noreply.github.com>2020-05-13 17:39:00 +0200
committerGitHub <noreply@github.com>2020-05-13 17:39:00 +0200
commitbd94d5fce774e40d874d6efc941998bacad1f933 (patch)
treea012b5af4503b001addd9b6f9bb0ca59258cacbc
parentb6be9060826a8617378e7ec1ee128057b51d8f85 (diff)
downloadafl++-bd94d5fce774e40d874d6efc941998bacad1f933.tar.gz
unicornafl build script: python version is critical
-rwxr-xr-xunicorn_mode/build_unicorn_support.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/unicorn_mode/build_unicorn_support.sh b/unicorn_mode/build_unicorn_support.sh
index bbfd151c..805ac1ea 100755
--- a/unicorn_mode/build_unicorn_support.sh
+++ b/unicorn_mode/build_unicorn_support.sh
@@ -65,7 +65,7 @@ if [ ! -f "../afl-showmap" ]; then
 
 fi
 
-PYTHONBIN=`command -v python3 || command -v python || echo python`
+PYTHONBIN=`command -v python || command -v python3 || command -v python2 || echo python`
 MAKECMD=make
 EASY_INSTALL='easy_install'
 TARCMD=tar