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 929d64a290..7718f9ab1b 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -296,7 +296,7 @@ do_validate_branches() {
296 force_srcrev="${SRCREV}" 296 force_srcrev="${SRCREV}"
297 else 297 else
298 git cat-file -t ${machine_srcrev} > /dev/null 298 git cat-file -t ${machine_srcrev} > /dev/null
299 if [ if $? -ne 0 ]; then 299 if [ $? -ne 0 ]; then
300 bberror "${machine_srcrev} is not a valid commit ID." 300 bberror "${machine_srcrev} is not a valid commit ID."
301 bbfatal "The kernel source tree may be out of sync" 301 bbfatal "The kernel source tree may be out of sync"
302 fi 302 fi