summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-01-14 08:43:12 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-01-14 08:44:02 +0000
commit0e0fd3000678c3507eef0a09728c8736a0eb671d (patch)
treedcd5b0289be495549841f2e17e89d0e45410833b
parent3ab3774017b65fe587b164535148a788207c2f27 (diff)
round-robin-bisect.sh: Fix variable reference after refactoring
Change-Id: I63eeb730bcf5b3923d51ac0a24dd3a355db4cbad
-rwxr-xr-xround-robin-bisect.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/round-robin-bisect.sh b/round-robin-bisect.sh
index 19dfc591..2178ca22 100755
--- a/round-robin-bisect.sh
+++ b/round-robin-bisect.sh
@@ -413,8 +413,8 @@ if [ x"$first_bad" != x"" ]; then
# and it knows CB is "bad", so git-bisect returns C1 as the first bad
# commit.
# To simplify investigations we explicitly test parent of $first_bad.
- echo "Testing first_bad's parent $last_good (hoping for success)"
- git checkout --detach "$last_good"
+ echo "Testing first_bad's parent $sha1 (hoping for success)"
+ git checkout --detach "$sha1"
$artifacts/test.sh &
res=0 && wait $! || res=$?
if [ x"$res" = x"0" ]; then