direct-io.hg

changeset 12260:182678e5095b

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 <ben@virtualiron.com>
author kfraser@localhost.localdomain
date Tue Nov 07 09:32:02 2006 +0000 (2006-11-07)
parents b223ba940ed1
children 9d981f3480b1
files tools/ioemu/target-i386-dm/qemu-dm.debug
line diff
     1.1 --- a/tools/ioemu/target-i386-dm/qemu-dm.debug	Tue Nov 07 09:29:53 2006 +0000
     1.2 +++ b/tools/ioemu/target-i386-dm/qemu-dm.debug	Tue Nov 07 09:32:02 2006 +0000
     1.3 @@ -1,5 +1,10 @@
     1.4  #!/bin/sh
     1.5  
     1.6 +if [ "`arch`" = "x86_64" ]; then
     1.7 +    LIBDIR="lib64"
     1.8 +else
     1.9 +    LIBDIR="lib"
    1.10 +fi
    1.11  echo $* > /tmp/args
    1.12  echo $DISPLAY >> /tmp/args
    1.13 -exec /usr/lib/xen/bin/qemu-dm $*
    1.14 +exec /usr/$LIBDIR/xen/bin/qemu-dm $*