From 65cedae4882132b36f80a9471d3d231b1455a425 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Mon, 10 Jul 2017 16:18:03 -0400 Subject: [PATCH] Fix conditional statement should be == Change-Id: I691f62261f9226fdffbbddbdee26c36273f38503 Signed-off-by: Thanh Ha --- jjb/autorelease/autorelease-macros.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jjb/autorelease/autorelease-macros.yaml b/jjb/autorelease/autorelease-macros.yaml index ab4b30d6e..f06583210 100644 --- a/jjb/autorelease/autorelease-macros.yaml +++ b/jjb/autorelease/autorelease-macros.yaml @@ -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 -- 2.36.6