diff --git a/scripts/fetch-develop.deps.sh b/scripts/fetch-develop.deps.sh index 5c9c7848ed..d824be95bb 100755 --- a/scripts/fetch-develop.deps.sh +++ b/scripts/fetch-develop.deps.sh @@ -42,6 +42,7 @@ function dodep() { # Use the default branch as the last resort. if [[ "$BUILDKITE" == true ]]; then clone $org $repo $BUILDKITE_BRANCH || + clone $org $repo $BUILDKITE_PULL_REQUEST_BASE_BRANCH || clone $org $repo $defbranch || return $? else