summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2020-12-12 14:07:18 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2020-12-12 14:07:18 +0000
commit70e7ffd0d99c92b3f3b7a78517263382f97eb7a2 (patch)
treeb9ec7ab3d4b6c2118f78d1952e85e15e587b33f8
parentc23022eba5660c1422003fe7779f54e1300535c2 (diff)
round-robin.sh: Update to follow ABE's new $builddir naming
Change-Id: I8ba472813afd2de119c8661fc5ad0c4f4b2f2c55
-rw-r--r--round-robin.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/round-robin.sh b/round-robin.sh
index 3adea87d..cda29393 100644
--- a/round-robin.sh
+++ b/round-robin.sh
@@ -364,10 +364,10 @@ build_abe ()
# checkout/configure/build steps. Which we do not want
# to do on a check step.
if ! $check; then
- set +f; rm -rf builds/*/*/$git_dir*; set -f
+ set +f; rm -rf builds/*/*/$project-*; set -f
fi
- if [ x"$project" = x"gcc" -a -d builds/destdir ]; then
+ if [ x"$project" = x"gcc" ] && [ -d builds/destdir ]; then
# Delete previously-built GCC so that we avoid using it in native
# builds. Otherwise, when we are bisecting GCC bootstrap failure,
# we could use broken GCC.