summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/kernel-yocto.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 9c50d52507..223825e546 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -211,7 +211,7 @@ do_kernel_checkout() {
211 # Create a working tree copy of the kernel by checking out a branch 211 # Create a working tree copy of the kernel by checking out a branch
212 machine_branch="${@ get_machine_branch(d, "${KBRANCH}" )}" 212 machine_branch="${@ get_machine_branch(d, "${KBRANCH}" )}"
213 git show-ref --quiet --verify -- "refs/heads/${machine_branch}" 213 git show-ref --quiet --verify -- "refs/heads/${machine_branch}"
214 if [ $? -eq 0 ]; then 214 if [ $? -ne 0 ]; then
215 machine_branch="master" 215 machine_branch="master"
216 fi 216 fi
217 217