diff options
author | van Hauser <vh@thc.org> | 2019-12-18 11:58:25 +0100 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2019-12-18 11:58:25 +0100 |
commit | a521bfdfd8a79cd6cea0e147d054b5d803da7ddd (patch) | |
tree | 4d199b9c5e092ac6534bfe5013b2d1d6182aa2b3 | |
parent | d7b6b810d11e7aed3b6a59ab850d4d298b0dce2d (diff) | |
download | afl++-a521bfdfd8a79cd6cea0e147d054b5d803da7ddd.tar.gz |
fix travis bug?
-rwxr-xr-x | unicorn_mode/build_unicorn_support.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/unicorn_mode/build_unicorn_support.sh b/unicorn_mode/build_unicorn_support.sh index e79e0b51..1c176bca 100755 --- a/unicorn_mode/build_unicorn_support.sh +++ b/unicorn_mode/build_unicorn_support.sh @@ -89,7 +89,7 @@ if [ "$PLT" = "NetBSD" ] || [ "$PLT" = "OpenBSD" ]; then TARCMD=gtar fi -for i in wget $PYTHONBIN automake autoconf $MAKECMD $TARCMD; do +for i in wget $PYTHONBIN automake autoconf git $MAKECMD $TARCMD; do T=`which "$i" 2>/dev/null` @@ -124,7 +124,8 @@ fi echo "[+] All checks passed!" echo "[*] Making sure unicornafl is checked out" -test -d unicorn && { cd unicorn && { git stash ; git pull ; cd .. ; } } +rm -rf unicorn # workaround for travis ... sadly ... +#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." |