summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-07-19 20:07:23 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-07-19 20:10:20 +0000
commite8e3ff75407f0c554041fb2ce464f58bc9e809c3 (patch)
treebfce224b8d58f01ee2d7abe7a1385b43611321dd
parent37e69ce3833a22e5580a5588a898d0d428e89812 (diff)
round-robin-bisect.sh: Fix rsync --exclude patterns
This problem was affecting bisects with $current_project=gcc. Without leading "/" rsync was excluding all occurences of gcc/ from transfers, including abe/builds/.../gcc-gcc.git~master-stage1/gcc, which caused bisect builds to fail. Change-Id: I7444abd0f2635904c8fbf12cf8936e09a41422ce
-rwxr-xr-xround-robin-bisect.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/round-robin-bisect.sh b/round-robin-bisect.sh
index b422f4f6..8a27a68c 100755
--- a/round-robin-bisect.sh
+++ b/round-robin-bisect.sh
@@ -120,7 +120,7 @@ mkdir -p ./bisect
# Save baseline build state, which we restore before individual bisect tests.
# This ensures that "bad" bisect tests won't affect "good" ones and vice versa.
baseline_exclude=(
- --exclude bisect/ --exclude "$rel_artifacts/" --exclude "$current_project/"
+ --exclude /bisect/ --exclude "/$rel_artifacts/" --exclude "/$current_project/"
)
rsync -a --del --delete-excluded "${baseline_exclude[@]}" ./ ./bisect/baseline/