From 2e147f658edd4fcdc481f430b921d7415dc23151 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Sat, 24 Jan 2026 20:15:23 +0000 Subject: [PATCH] fix(quickemu): quote qemu-system-${ARCH_VM} lookup Signed-off-by: Martin Wimpress --- quickemu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickemu b/quickemu index 26570ca..b3ea8aa 100755 --- a/quickemu +++ b/quickemu @@ -2406,7 +2406,7 @@ readonly VERSION="4.9.9" arch="${arch:-x86_64}" ARCH_VM="${arch}" ARCH_HOST=$(uname -m) -QEMU=$(command -v qemu-system-${ARCH_VM}) +QEMU=$(command -v "qemu-system-${ARCH_VM}") QEMU_IMG=$(command -v qemu-img) if [ ! -x "${QEMU}" ] || [ ! -x "${QEMU_IMG}" ]; then echo "ERROR! QEMU not found. Please make sure 'qemu-system-${ARCH_VM}' and 'qemu-img' are installed." @@ -2609,7 +2609,7 @@ if [ -n "${VM}" ] && [ -e "${VM}" ]; then # Re-detect architecture and QEMU binary after sourcing config # Config file can set arch="aarch64" to override the default ARCH_VM="${arch:-x86_64}" - QEMU=$(command -v qemu-system-${ARCH_VM}) + QEMU=$(command -v "qemu-system-${ARCH_VM}") if [ ! -x "${QEMU}" ]; then echo "ERROR! qemu-system-${ARCH_VM} not found." echo " Please install QEMU for ${ARCH_VM} architecture."