Commit 12aee258 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Tell git to not care about repo ownership for downstream builds

parent 15b3280a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -759,6 +759,9 @@ function install_ispc()

function prepare_downstream_build()
{
  # Repo ownership is adventurous in gitlab runner, we don't care.
  git config --global --add 'safe.directory' '*'

  # NOTE: parses https://github.com/user/repo.git@branch_name
  local proj_url="${1%%@*}"
  local proj_branch=${1#"${proj_url}@"}