From 956a1f44b8fb092a844184fb8cddbf0d023826a4 Mon Sep 17 00:00:00 2001 From: Marcel Bargull Date: Wed, 22 Nov 2023 01:55:25 +0100 Subject: [PATCH] Use simple glob to move qemu-*-static Signed-off-by: Marcel Bargull --- download-qemu-static.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/download-qemu-static.sh b/download-qemu-static.sh index f4e0316..0d1f0bc 100755 --- a/download-qemu-static.sh +++ b/download-qemu-static.sh @@ -13,9 +13,7 @@ build='ds-1' curl -sL \ "http://ftp.debian.org/debian/pool/main/q/qemu/qemu-user-static_${version}+${build}_amd64.deb" | dpkg-deb --extract - ./deb-tmp -for arch in aarch64 arm ppc64le s390x; do - mv "./deb-tmp/usr/bin/qemu-${arch}-static" ./ -done +mv ./deb-tmp/usr/bin/qemu-*-static ./ rm -rf ./deb-tmp sha256sum --check << 'EOF' f5c0f9f9e1499c6907bb293a250d9a015ea99e304654e0ab9fb38fd72efad7ce qemu-aarch64-static