From: John Hodge (sonata) Date: Sat, 10 Nov 2012 05:09:12 +0000 (+0800) Subject: RunQemu - Fixed argument handling issues X-Git-Tag: rel0.15~665 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=dc22b2f0553693b6f428eecfd219fe39c78de768;p=tpg%2Facess2.git RunQemu - Fixed argument handling issues --- diff --git a/RunQemu b/RunQemu index d2e9ec37..31c5ee8f 100755 --- a/RunQemu +++ b/RunQemu @@ -26,7 +26,7 @@ while [ $# -ne 0 ]; do _kfile="KernelLand/Acess2.$1-$2.bin" fi BOOTOPT="-kernel $_kfile" - BOOTOPT=$BOOTOPT" -initrd KernelLand/Modules/Filesystems/FS_InitRD.kmd.$1 -append $3" + BOOTOPT=$BOOTOPT" -initrd KernelLand/Modules/Filesystems/FS_InitRD.kmd.$1 -append \"$3\"" shift shift ;; @@ -89,4 +89,4 @@ if [ "x$_NOTEE" = "xyes" ] ; then exit fi -$QEMU $BOOTOPT $QEMU_PARAMS -serial stdio | tee QemuLog.txt +eval $QEMU $BOOTOPT $QEMU_PARAMS -serial stdio | tee QemuLog.txt