switch qemu_build to curl

This commit is contained in:
George Hotz 2019-03-24 12:57:38 -07:00
parent a1e6ec14fb
commit 220120b75b
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ if [ ! -d qemu/qemu-latest ]; then
rm -rf qemu
mkdir -p qemu
cd qemu
wget http://wiki.qemu-project.org/download/qemu-$QEMU_VERSION.tar.bz2
curl -Lo qemu-$QEMU_VERSION.tar.bz2 http://wiki.qemu-project.org/download/qemu-$QEMU_VERSION.tar.bz2
HASH=`sha256sum ./qemu-"$QEMU_VERSION".tar.bz2 2>/dev/null | cut -d' ' -f1`
if [ "$HASH" != "$QEMU_SHA256" ]; then