[bitbake-devel] [PATCH 2/2] bin/toaster: set shwordsplit if using zsh.

Michael Wood michael.g.wood at intel.com
Thu Aug 4 10:04:07 UTC 2016


On 03/08/16 20:57, Liam R. Howlett wrote:
> Since this script is meant to be sourced, shwordsplit has to be
> explicitly set to ensure the variable MANAGE is set correctly and
> functions independent of the users shwordsplit setting.
>
> Signed-off-by: Liam R. Howlett <Liam.Howlett at WindRiver.com>
> ---
>   bin/toaster | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/bin/toaster b/bin/toaster
> index 66157d0..038e93b 100755
> --- a/bin/toaster
> +++ b/bin/toaster
> @@ -130,6 +130,7 @@ if [ -n "$BASH_SOURCE" ] ; then
>       TOASTER=${BASH_SOURCE}
>   elif [ -n "$ZSH_NAME" ] ; then
>       TOASTER=${(%):-%x}
> +    set -o shwordsplit
>   else
>       TOASTER=$0
>   fi

Thanks for these patches. Both look fine to me.

If you have patches for Toaster in the future we usually review them on 
the toaster mailing list first and then the reviewer sends them to 
bitbake-devel.

For more info please see 
https://wiki.yoctoproject.org/wiki/Contribute_to_Toaster

Michael


---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.




More information about the bitbake-devel mailing list