From e0c47a055ce21b82499a2c686b1e835c91fdc0f9 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 17 Jan 2007 16:36:32 +0000 Subject: Remove newlines in echos git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1160 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- scripts/poky-qemu | 2 +- scripts/poky-qemu-internal | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/poky-qemu b/scripts/poky-qemu index caac03c254..c74a16f4a6 100755 --- a/scripts/poky-qemu +++ b/scripts/poky-qemu @@ -18,7 +18,7 @@ if [ "x$1" = "x" ]; then MYNAME=`basename $0` - echo -e "\nRun as MACHINE=xyz $MYNAME ZIMAGE IMAGEFILE" + echo "Run as MACHINE=xyz $MYNAME ZIMAGE IMAGEFILE" echo "where:" echo " ZIMAGE - the kernel image file to use" echo " IMAGEFILE - the image file/location to use" diff --git a/scripts/poky-qemu-internal b/scripts/poky-qemu-internal index e13f1b6dbe..a88f52ace8 100755 --- a/scripts/poky-qemu-internal +++ b/scripts/poky-qemu-internal @@ -41,17 +41,17 @@ if [ "x$SERIAL_LOGFILE" != "x" ]; then fi if [ "$TYPE" != "nfs" -a ! -f "$HDIMAGE" ]; then - echo -e "\nError, image file $HDIMAGE doesn't exist" + echo "Error, image file $HDIMAGE doesn't exist" exit 1 fi if [ ! -f "$ZIMAGE" ]; then - echo -e "\nError, kernel image file $ZIMAGE doesn't exist" + echo "Error, kernel image file $ZIMAGE doesn't exist" exit 1 fi if [ "$MACHINE" != "qemuarm" -a "$MACHINE" != "qemux86" ]; then - echo -e "\nError, unsupported machine type $MACHINE" + echo "Error, unsupported machine type $MACHINE" exit 1 fi @@ -65,7 +65,7 @@ if [ "$MACHINE" = "qemuarm" ]; then HDIMAGE=/srv/nfs/qemuarm fi if [ ! -d "$HDIMAGE" ]; then - echo -e "\nError, NFS mount point $HDIMAGE doesn't exist" + echo "Error, NFS mount point $HDIMAGE doesn't exist" exit 1 fi QEMUOPTIONS="-append \"root=/dev/nfs nfsroot=192.168.7.1:$HDIMAGE rw $KERNEL_NETWORK_CMD\" $QEMU_NETWORK_CMD -M versatilepb" @@ -82,7 +82,7 @@ if [ "$MACHINE" = "qemux86" ]; then HDIMAGE=/srv/nfs/qemux86 fi if [ ! -d "$HDIMAGE" ]; then - echo -e "\nError, NFS mount point $HDIMAGE doesn't exist." + echo "Error, NFS mount point $HDIMAGE doesn't exist." exit 1 fi QEMUOPTIONS="-std-vga -append \"root=/dev/nfs nfsroot=192.168.7.1:$HDIMAGE rw $KERNEL_NETWORK_CMD\" $QEMU_NETWORK_CMD" @@ -118,11 +118,11 @@ if [ "$MACHINE" = "akita" ]; then fi if [ "x$QEMUOPTIONS" = "x" ]; then - echo -e "\nError, unable to support this combination of options" + echo "Error, unable to support this combination of options" exit 1 fi -echo -e "\nRunning $QEMU using sudo..." +echo "Running $QEMU using sudo..." echo "$QEMU -kernel $ZIMAGE $QEMUOPTIONS $SERIALOPTS" sudo $QEMU -kernel $ZIMAGE $QEMUOPTIONS $SERIALOPTS -- cgit 1.2.3-korg