about summary refs log tree commit diff
path: root/unicorn_mode
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2019-12-18 11:14:12 +0100
committervan Hauser <vh@thc.org>2019-12-18 11:14:12 +0100
commit939721e2cbcf14f0f9577575c09e16be2ced25fe (patch)
treee32066cf400e512dbc05b4aa2cad4fcae7696c21 /unicorn_mode
parent6226e384512bad86977377b2cece2b5bc0286aa3 (diff)
downloadafl++-939721e2cbcf14f0f9577575c09e16be2ced25fe.tar.gz
v2.59c release 2.59c
Diffstat (limited to 'unicorn_mode')
-rwxr-xr-xunicorn_mode/build_unicorn_support.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/unicorn_mode/build_unicorn_support.sh b/unicorn_mode/build_unicorn_support.sh
index 707e47bb..e79e0b51 100755
--- a/unicorn_mode/build_unicorn_support.sh
+++ b/unicorn_mode/build_unicorn_support.sh
@@ -124,8 +124,9 @@ fi
 echo "[+] All checks passed!"
 
 echo "[*] Making sure unicornafl is checked out"
-git submodule init || exit 1
-git submodule update || exit 1
+test -d unicorn && { cd unicorn && { git stash ; git pull ; cd .. ; } }
+test -d unicorn || git clone https://github.com/vanhauser-thc/unicorn
+test -d unicorn || { echo "[-] not checked out, please install git or check your internet connection." ; exit 1 ; }
 echo "[+] Got unicornafl."
 
 echo "[*] making sure config.h matches"