From 755ac92dbf195ffd07a0c27f3b3b05a9d66ae4c3 Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones Date: Feb 18 2014 17:10:08 +0000 Subject: Better to quote the argument to test. --- diff --git a/qemu.spec b/qemu.spec index 33cc56d..95b1def 100644 --- a/qemu.spec +++ b/qemu.spec @@ -1074,7 +1074,7 @@ hostqemu=i386-softmmu/qemu-system-i386 %ifarch x86_64 hostqemu=x86_64-softmmu/qemu-system-x86_64 %endif -if test -f $hostqemu; then qemu-sanity-check --qemu=$hostqemu ||: ; fi +if test -f "$hostqemu"; then qemu-sanity-check --qemu=$hostqemu ||: ; fi %endif %ifarch %{kvm_archs}