From c020f83b782c7803ee6c821d77b04c107b100e41 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Tue, 7 Nov 2006 09:32:02 +0000 Subject: [PATCH] Trivial change to look in correct location for qemu-dm when using the debug wrapper on a 64 bit system. Signed-off-by: Ben Thomas --- tools/ioemu/target-i386-dm/qemu-dm.debug | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/ioemu/target-i386-dm/qemu-dm.debug b/tools/ioemu/target-i386-dm/qemu-dm.debug index 3bad6d900d..cea6b57c77 100644 --- a/tools/ioemu/target-i386-dm/qemu-dm.debug +++ b/tools/ioemu/target-i386-dm/qemu-dm.debug @@ -1,5 +1,10 @@ #!/bin/sh +if [ "`arch`" = "x86_64" ]; then + LIBDIR="lib64" +else + LIBDIR="lib" +fi echo $* > /tmp/args echo $DISPLAY >> /tmp/args -exec /usr/lib/xen/bin/qemu-dm $* +exec /usr/$LIBDIR/xen/bin/qemu-dm $* -- 2.30.2