From c2a7bdf64e122134c2c3ada475e3dd24a77ed28c Mon Sep 17 00:00:00 2001 From: Anna Born Date: Fri, 8 Mar 2024 20:48:15 +0100 Subject: [PATCH] fix previous broken commit --- lib/autoproj/git_server_configuration.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/autoproj/git_server_configuration.rb b/lib/autoproj/git_server_configuration.rb index 55b7d64d..3f1c467f 100644 --- a/lib/autoproj/git_server_configuration.rb +++ b/lib/autoproj/git_server_configuration.rb @@ -103,6 +103,7 @@ def self.git_server_configuration(name, base_url, Autoproj.add_source_handler name.downcase do |url, private: false, **vcs_options| if add_suffix url += ".git" if url !~ /\.git$/ + end url = "/#{url}" if url !~ /^\// unless GIT_SERVER_CONFIG_VARS.all? { |v| config.has_value_for?("#{name}#{v}") }