travis timeout reattempts :)

This commit is contained in:
van Hauser 2020-02-08 10:14:48 +01:00
parent aa2cb66ea2
commit 9ea498585c

View File

@ -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."