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 536434fdf1..98272fcc3b 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -136,7 +136,7 @@ do_validate_branches() {
136 return 136 return
137 fi 137 fi
138 138
139 # nothing to do if SRCREV=${AUTOREV} 139 # nothing to do if SRCREV is AUTOREV
140 if [ "${SRCREV_machine}" = "AUTOINC" ]; then 140 if [ "${SRCREV_machine}" = "AUTOINC" ]; then
141 # restore the branch for builds 141 # restore the branch for builds
142 git checkout -f ${KBRANCH} 142 git checkout -f ${KBRANCH}