summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--round-robin.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/round-robin.sh b/round-robin.sh
index e61edce5..55664c18 100644
--- a/round-robin.sh
+++ b/round-robin.sh
@@ -653,7 +653,9 @@ No reason to rebase base-artifacts."
elif ! [ $score -lt 0 ] 2>/dev/null; then
# Bisect failures in all steps after "-1" step.
local baseline_rev cur_rev
- baseline_rev=$(git_rev_parse_long $single_component ${rr[baseline_branch]} baseline)
+ baseline_rev=$(git_rev_parse_long $single_component ${rr[baseline_branch]} baseline) &
+ # Baseline branch may not exist, so don't fail if it's not found.
+ wait $! || baseline_rev=""
cur_rev=$(git -C $single_component rev-parse HEAD)
if [ x"$baseline_rev" = x"$cur_rev" ]; then