kernel-yocto: Add a missing '['
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Thu, 10 Oct 2013 08:52:06 +0000 (10:52 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 14 Oct 2013 15:55:21 +0000 (16:55 +0100)
(From OE-Core rev: 68a7d9f0e19ed577854a04610efc902062a369a8)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass

index 97a5fa7..8f79932 100644 (file)
@@ -298,7 +298,7 @@ do_validate_branches() {
        set +e
        # if SRCREV is AUTOREV it shows up as AUTOINC there's nothing to
        # check and we can exit early
-       if [ "${SRCREV_machine}" = "AUTOINC" ] || "${SRCREV_machine}" = "INVALID" ] ||
+       if [ "${SRCREV_machine}" = "AUTOINC" ] || "${SRCREV_machine}" = "INVALID" ] ||
           [ "${SRCREV_machine}" = "" ]; then
                return
        fi