[Toaster] [PATCH] toaster: warning text formatting small improvement

Cristian Iorga cristian.iorga at intel.com
Mon Sep 14 06:31:01 PDT 2015


The warning does not add a carriage return, so
warning text is mixed with shell prompt.

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

diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index 411ce2c..ac27826 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/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 toaster mailing list