]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel-yocto.bbclass: fix shell syntax error
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 1 Dec 2014 17:20:30 +0000 (17:20 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 31 Dec 2014 10:17:36 +0000 (10:17 +0000)
Spaces aren't valid around = in an assignment statement (not even with
bash).

(From OE-Core rev: fb419b1a3f5dbc5e5019be9d09c4acdbeb460c19)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/kernel-yocto.bbclass

index 7718f9ab1b58f5edc7e59cdf4115d70746300dfd..f42a5c2534ae7a816f90677bebbf41f0534f87ff 100644 (file)
@@ -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"
        fi
 
        # checkout and clobber any unimportant files