summaryrefslogtreecommitdiff
path: root/tcwg_kernel-build.sh
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2019-04-26 06:59:10 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2019-04-27 08:36:24 +0000
commitbcaa245031a3816b2d99c164d9d10be98aba2958 (patch)
tree2c4fcc2496980d8cfce012be4b3e1ad8370e8868 /tcwg_kernel-build.sh
parent00a144341d519650f421d49a558e0edb68c6b51d (diff)
tcwg_*-build.sh: Don't require repo urls when we don't need them
We need repo URLs only when not using baseline branches (baseline branches are stored in known repos at git.l.o/toolchain/ci/*). We refactor build_abe() to not rely on repo URLs, ABE only uses last element of URLs path, so we fudge URL for it. Change-Id: I19b6b5da51c8737b7176492e04e734f618d1d606
Diffstat (limited to 'tcwg_kernel-build.sh')
-rwxr-xr-xtcwg_kernel-build.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tcwg_kernel-build.sh b/tcwg_kernel-build.sh
index ba21a41c..a053e99c 100755
--- a/tcwg_kernel-build.sh
+++ b/tcwg_kernel-build.sh
@@ -38,7 +38,9 @@ esac
# Use baseline branches by default.
for c in ${rr[components]}; do
rr[${c}_branch]=${rr[${c}_branch]-baseline}
- obligatory_variables rr[${c}_url]
+ if [ x"${rr[${c}_branch]}" != x"baseline" ]; then
+ obligatory_variables rr[${c}_url]
+ fi
done
start_at="${start_at-default}"