From: kfraser@localhost.localdomain Date: Tue, 7 Nov 2006 09:32:02 +0000 (+0000) Subject: Trivial change to look in correct location for qemu-dm when using the debug wrapper... X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c020f83b782c7803ee6c821d77b04c107b100e41;p=xen.git 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 --- 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 $*