From e8e3ff75407f0c554041fb2ce464f58bc9e809c3 Mon Sep 17 00:00:00 2001 From: Maxim Kuvyrkov Date: Mon, 19 Jul 2021 20:07:23 +0000 Subject: 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 --- round-robin-bisect.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/ -- cgit v1.2.3