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

Michael Wood michael.g.wood at intel.com
Fri Sep 18 07:48:23 PDT 2015


Thanks. Submitted upstream.

On 14/09/15 14:31, Cristian Iorga wrote:
> 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
>   



More information about the toaster mailing list