From 72ac59b275e8f9beb2a8c7c0506ce507fdb788c6 Mon Sep 17 00:00:00 2001 From: Maxim Kuvyrkov Date: Wed, 30 Jan 2019 08:36:13 +0000 Subject: round-robin.sh: Fix typo Change-Id: Ia1382779ccd0a405d30b6fa6101cea987dbe2df0 --- round-robin.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3