diff options
author | van Hauser <vh@thc.org> | 2019-07-25 09:07:35 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2019-07-25 09:07:35 +0200 |
commit | 6013d20aefd3783a70fc958decf3da71821a1490 (patch) | |
tree | 5d4afc7ed0e05234f5283c67a64db497693953b3 | |
parent | dfb3bd8e33b4f38188ebc67fd522225b111044c9 (diff) | |
download | afl++-6013d20aefd3783a70fc958decf3da71821a1490.tar.gz |
unicorn build workaround
-rw-r--r-- | unicorn_mode/build_unicorn_support.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/unicorn_mode/build_unicorn_support.sh b/unicorn_mode/build_unicorn_support.sh index f9e18fa9..9dcf6773 100644 --- a/unicorn_mode/build_unicorn_support.sh +++ b/unicorn_mode/build_unicorn_support.sh @@ -75,8 +75,13 @@ done if ! which easy_install > /dev/null; then - echo "[-] Error: Python setup-tools not found. Run 'sudo apt-get install python-setuptools'." - exit 1 + # work around for unusual installs + if [ '!' -e /usr/lib/python2.7/dist-packages/easy_install.py ]; then + + echo "[-] Error: Python setup-tools not found. Run 'sudo apt-get install python-setuptools'." + exit 1 + + fi fi |