Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Commit 7aeb2c3

Browse files
committed
Step 10.4: Fix end-to-end test branch matching
1 parent 63091e7 commit 7aeb2c3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/fetchdep.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ BRANCH_ARRAY=(${head//:/ })
5757
TRY_ORG=$deforg
5858
TRY_BRANCH=${BRANCH_ARRAY[0]}
5959
if [[ "$head" == *":"* ]]; then
60-
TRY_ORG=${BRANCH_ARRAY[0]}
60+
# ... but only match that fork if it's a real fork
61+
if [ "${BRANCH_ARRAY[0]}" != "matrix-org" ]; then
62+
TRY_ORG=${BRANCH_ARRAY[0]}
63+
fi
6164
TRY_BRANCH=${BRANCH_ARRAY[1]}
6265
fi
6366
clone ${TRY_ORG} $defrepo ${TRY_BRANCH}

0 commit comments

Comments
 (0)