]> 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>
Fri, 5 Dec 2014 17:42:45 +0000 (17:42 +0000)
Spaces aren't valid around = in an assignment statement (not even with
bash).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/kernel-yocto.bbclass

index e672a0e3a5aa456dd92ac5aca9a90ac86aaa9ea2..c3e24943bbaf404cfde025ff7b33ea2ed0846e04 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