summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2022-08-09 07:14:11 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2022-08-09 07:14:51 +0000
commitf6d5c81b5d18410801fbc0b1a6d8365bc82f58ed (patch)
treedc1652d5984dceb661c285bd656d5f22dbd85644
parentcb1468671fa752b4fd8677e18ba168d272c0256a (diff)
round-robin.sh: Add a transitional workaround
... for sourcing manifests with ${debug[*_date]}. Change-Id: I121e69bf8bb212bf799a495bb9d121638ac0e184
-rw-r--r--round-robin.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/round-robin.sh b/round-robin.sh
index f294099b..de737cf0 100644
--- a/round-robin.sh
+++ b/round-robin.sh
@@ -168,6 +168,9 @@ clone_repo ()
else
base_manifest=base-artifacts/jenkins/manifest.sh
fi
+ # For a short time manifests used "debug" array, so we need
+ # to declare it when sourcing these manifests.
+ declare -A debug
url=$(source $base_manifest; echo "${rr[${project}_url]-}")
branch=$(source $base_manifest; echo "${rr[${project}_rev]-}")