[bitbake-devel] [PATCH] toaster: start script warning text formatting small improvement

Michael Wood michael.g.wood at intel.com
Fri Sep 18 14:46:28 UTC 2015


From: Cristian Iorga <cristian.iorga at intel.com>

Add a carriage return to build environment warning message to
avoid it being  mixed up with shell prompt.

Signed-off-by: Cristian Iorga <cristian.iorga at intel.com>
Signed-off-by: Michael Wood <michael.g.wood at intel.com>
---
 bin/toaster | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/toaster b/bin/toaster
index 411ce2c..ac27826 100755
--- a/bin/toaster
+++ b/bin/toaster
@@ -197,7 +197,7 @@ if [ `basename \"$0\"` = `basename \"${SRCFILE}\"` ]; then
     fi
 
     if [ -n "$BUILDDIR" ]; then
-        printf "Error: It looks like you sourced oe-init-build-env. Toaster cannot start in build mode from an oe-core build environment.\n You should be starting Toaster from a new terminal window." 1>&2
+        printf "Error: It looks like you sourced oe-init-build-env. Toaster cannot start in build mode from an oe-core build environment.\n You should be starting Toaster from a new terminal window.\n" 1>&2
         exit 1
     fi
 
-- 
2.1.4




More information about the bitbake-devel mailing list