diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/kernel-yocto.bbclass | 2 |
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() { force_srcrev="${SRCREV}" else git cat-file -t ${machine_srcrev} > /dev/null - if [ if $? -ne 0 ]; then + if [ $? -ne 0 ]; then bberror "${machine_srcrev} is not a valid commit ID." bbfatal "The kernel source tree may be out of sync" fi |