diff options
author | van Hauser <vh@thc.org> | 2020-02-08 10:14:48 +0100 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-02-08 10:14:48 +0100 |
commit | 9ea498585c9c875faa2bd3b9752a1fc7d0bcd287 (patch) | |
tree | 626b750e8fe3924bd0c873b8b1933b4f36cb9744 | |
parent | aa2cb66ea23884eb03cb0220dcfafbdd7343f54d (diff) | |
download | afl++-9ea498585c9c875faa2bd3b9752a1fc7d0bcd287.tar.gz |
travis timeout reattempts :)
-rwxr-xr-x | unicorn_mode/build_unicorn_support.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/unicorn_mode/build_unicorn_support.sh b/unicorn_mode/build_unicorn_support.sh index a04cca6b..ecd80d95 100755 --- a/unicorn_mode/build_unicorn_support.sh +++ b/unicorn_mode/build_unicorn_support.sh @@ -127,7 +127,14 @@ echo "[+] All checks passed!" echo "[*] Making sure unicornafl is checked out" rm -rf unicornafl # workaround for travis ... sadly ... #test -d unicorn && { cd unicorn && { git stash ; git pull ; cd .. ; } } -test -d unicornafl || git clone https://github.com/vanhauser-thc/unicornafl +test -d unicornafl || { + CNT=1 + while [ '!' -d unicornafl -a "$CNT" -lt 4 ]; do + echo "Trying to clone unicornafl (attempt $CNT/3)" + git clone https://github.com/vanhauser-thc/unicornafl + CNT=`expr "$CNT" + 1` + done +} test -d unicornafl || { echo "[-] not checked out, please install git or check your internet connection." ; exit 1 ; } echo "[+] Got unicornafl." |