diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2019-01-30 08:36:13 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2019-02-07 12:31:05 +0000 |
commit | 72ac59b275e8f9beb2a8c7c0506ce507fdb788c6 (patch) | |
tree | 4d9d45e9ef398f26573e660c356e1d0d444c7a0b | |
parent | aaa033fb30a080d33af6adfc7eb5741a24a5286e (diff) |
round-robin.sh: Fix typo
Change-Id: Ia1382779ccd0a405d30b6fa6101cea987dbe2df0
-rw-r--r-- | round-robin.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/round-robin.sh b/round-robin.sh index 4c4b7883..b6196176 100644 --- a/round-robin.sh +++ b/round-robin.sh @@ -95,8 +95,9 @@ clone_repo () # ${rr[current_branch]} specifies branch for ${rr[current_project]}, # and everything else uses baseline branch. if [ x"$project" = x"${rr[current_project]}" ]; then + # Use the tip of the branch tracked in the current configuration. if [ x"${rr[current_branch]}" = x"default" ]; then - branch=${rr[${current_project}_branch]} + branch=${rr[${rr[current_project]}_branch]} elif [ x"${rr[current_branch]}" = x"baseline" ]; then branch="refs/remotes/baseline/${rr[baseline_branch]}" else |