kernel-yocto.bbclass: fix shell syntax error
PATCH 1/1 kernel-yocto.bbclass: fix shell syntax error
Spaces aren't valid around = in an assignment statement (not even with bash).
Signed-off-by Paul Eggleton <[email protected]>
--- meta/classes/kernel-yocto.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/kernel-yocto.bbclass +1 -1
@@ -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
Signature · 1 line
1.9.3
Quoted 13 lines · Paul Eggleton
Spaces aren't valid around = in an assignment statement (not even with bash).
Signed-off-by Paul Eggleton <[email protected]>--- meta/classes/kernel-yocto.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/classes/kernel-yocto.bbclass +0
-0
meta/classes/kernel-yocto.bbclass do_kernel_checkout() { · line 215
Quoted 5 lines
meta/classes/kernel-yocto.bbclass +1
-1@@ -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
Quoted 4 lines
meta/classes/kernel-yocto.bbclass +0
-0fi # checkout and clobber any unimportant files