Better to quote the argument to test.

This commit is contained in:
Richard W.M. Jones 2014-02-18 17:10:08 +00:00
parent 5b4ee6cf96
commit 755ac92dbf

View File

@ -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}