Fix conditional statement should be == 66/60166/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 10 Jul 2017 20:18:03 +0000 (16:18 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 10 Jul 2017 20:18:05 +0000 (16:18 -0400)
Change-Id: I691f62261f9226fdffbbddbdee26c36273f38503
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/autorelease/autorelease-macros.yaml

index ab4b30d6e22ab3ce0ff859df5b80b83a64ed7421..f06583210ac81a1b3232201a49d5effca32f8e6d 100644 (file)
@@ -40,7 +40,7 @@
           git fetch origin ${GERRIT_REFSPEC} && git checkout FETCH_HEAD
 
           # If the project is autorelease then we need to init and update submodules
-          if [ "$GERRIT_PROJECT" != "releng/autorelease" ]; then
+          if [ "$GERRIT_PROJECT" == "releng/autorelease" ]; then
               git submodule update --init
           fi