aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-07-26 15:00:26 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2017-07-26 15:00:26 +0000
commit9ccb7102d22764b55da3cac2db2079084fa44e2b (patch)
treeb17e78e1eb3cb1c1d948f4662118556f889de174
parentc1556aab17de35d817e25f014c32ad354a497039 (diff)
parentf992d6923c21e3970783ebd79a5e6a0eb51abe36 (diff)
Merge "Fix order in repo init call"
-rw-r--r--jjb/common/include-agl-repo.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/jjb/common/include-agl-repo.sh b/jjb/common/include-agl-repo.sh
index 32dafe92..d7411515 100644
--- a/jjb/common/include-agl-repo.sh
+++ b/jjb/common/include-agl-repo.sh
@@ -19,13 +19,13 @@ cd repoclone
export REPODIR=`pwd`
if test x"" = x"${RELEASE_VERSION}" -a x"" = x"${RELEASE_BRANCH}" ; then
+ repo init --reference=/opt/AGL/preclone -q -b $TARGETBRANCH -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo
+else
if test x"AGL/meta-renesas-rcar-gen3" = x"${TARGETPROJECT}" ; then
repo init --reference=/opt/AGL/preclone -q -b master -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo
else
- repo init --reference=/opt/AGL/preclone -q -b $TARGETBRANCH -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo
- fi
-else
repo init --reference=/opt/AGL/preclone -q -b $TARGETBRANCH -m ${RELEASE_BRANCH}_${RELEASE_VERSION}.xml -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo
+ fi
fi