aboutsummaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-07-26 15:12:36 +0200
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-07-26 15:12:36 +0200
commitf992d6923c21e3970783ebd79a5e6a0eb51abe36 (patch)
tree72f5948443fa7202abcc03b87920c371eb900ade /jjb
parent28345e44bbc39252438cb10ace1a159315a1764b (diff)
Fix order in repo init call
Change-Id: I97b9972189a33877aefcc14ba0c83dbd72e65425 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb')
-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