mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
kernel-yocto.bbclass: fix shell syntax error
Spaces aren't valid around = in an assignment statement (not even with bash). (From OE-Core rev: fb419b1a3f5dbc5e5019be9d09c4acdbeb460c19) (From OE-Core rev: 47f6432dbc4e5315bed15e073c4b1359c181d227) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
fb760567a3
commit
7526e8d006
@@ -212,7 +212,7 @@ do_kernel_checkout() {
|
|||||||
machine_branch="${@ get_machine_branch(d, "${KBRANCH}" )}"
|
machine_branch="${@ get_machine_branch(d, "${KBRANCH}" )}"
|
||||||
git show-ref --quiet --verify -- "refs/heads/${machine_branch}"
|
git show-ref --quiet --verify -- "refs/heads/${machine_branch}"
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
machine_branch = "master"
|
machine_branch="master"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# checkout and clobber any unimportant files
|
# checkout and clobber any unimportant files
|
||||||
|
|||||||
Reference in New Issue
Block a user