diff options
author | van Hauser <vh@thc.org> | 2019-11-07 11:48:39 +0100 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2019-11-07 11:48:39 +0100 |
commit | 499f078c3759a22dd5cfd81d2271969f19b75090 (patch) | |
tree | 93c7f76babba25b063d0d84f30932c9063eaae93 /qemu_mode/build_qemu_support.sh | |
parent | 92669e65ee7bfb588134b29e569858ba91408140 (diff) | |
download | afl++-499f078c3759a22dd5cfd81d2271969f19b75090.tar.gz |
f*ckin travis
Diffstat (limited to 'qemu_mode/build_qemu_support.sh')
-rwxr-xr-x | qemu_mode/build_qemu_support.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/qemu_mode/build_qemu_support.sh b/qemu_mode/build_qemu_support.sh index 6b9f91f9..c3983aa1 100755 --- a/qemu_mode/build_qemu_support.sh +++ b/qemu_mode/build_qemu_support.sh @@ -100,7 +100,10 @@ if [ ! "$CKSUM" = "$QEMU_SHA384" ]; then echo "[*] Downloading QEMU ${VERSION} from the web..." rm -f "$ARCHIVE" - wget -O "$ARCHIVE" -- "$QEMU_URL" || exit 1 + OK= + while [ -z "$OK" ]; do + wget -c -O "$ARCHIVE" -- "$QEMU_URL" && OK=1 + done CKSUM=`sha384sum -- "$ARCHIVE" 2>/dev/null | cut -d' ' -f1` |