[OE-core] [PATCH] kernel-yocto.bbclass: fix shell syntax error
Bruce Ashfield
bruce.ashfield at windriver.com
Mon Dec 1 17:25:45 UTC 2014
On 14-12-01 12:20 PM, Paul Eggleton wrote:
> Spaces aren't valid around = in an assignment statement (not even with
> bash).
>
> Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
> ---
> meta/classes/kernel-yocto.bbclass | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
> index e672a0e..c3e2494 100644
> --- a/meta/classes/kernel-yocto.bbclass
> +++ b/meta/classes/kernel-yocto.bbclass
> @@ -212,7 +212,7 @@ do_kernel_checkout() {
> machine_branch="${@ get_machine_branch(d, "${KBRANCH}" )}"
> git show-ref --quiet --verify -- "refs/heads/${machine_branch}"
> if [ $? -eq 0 ]; then
> - machine_branch = "master"
> + machine_branch="master"
Clearly not running very often :)
Looks good to me.
Bruce
> fi
>
> # checkout and clobber any unimportant files
>
More information about the Openembedded-core
mailing list