]> code.ossystems Code Review - openembedded-core.git/commitdiff
Remove newlines in echos
authorRoss Burton <ross@openedhand.com>
Wed, 17 Jan 2007 16:36:32 +0000 (16:36 +0000)
committerRoss Burton <ross@openedhand.com>
Wed, 17 Jan 2007 16:36:32 +0000 (16:36 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1160 311d38ba-8fff-0310-9ca6-ca027cbcb966

scripts/poky-qemu
scripts/poky-qemu-internal

index caac03c254da2aeec01a60b7b82fe9c0185c7ba3..c74a16f4a618544594752ab13668c40a44c329f6 100755 (executable)
@@ -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"
index e13f1b6dbee871bcf4fce496cb7b77392a5842bb..a88f52ace8fc802460a5a94d7cdb4a684f9ff359 100755 (executable)
@@ -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