From c2bb7fa58dec9898db183ee7c9532ef53e714f93 Mon Sep 17 00:00:00 2001 From: Michael Pyne Date: Sat, 20 Aug 2016 15:25:25 -0400 Subject: [PATCH] Don't forbid https as a git protocol when using proxies. --- modules/ksb/BuildContext.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ksb/BuildContext.pm b/modules/ksb/BuildContext.pm index 6224eb7..a5e13d8 100644 --- a/modules/ksb/BuildContext.pm +++ b/modules/ksb/BuildContext.pm @@ -967,7 +967,7 @@ sub getProjectDataReader croak_runtime("kde-projects repository information could not be downloaded: $!"); my $protocol = $self->getOption('git-desired-protocol') || 'git'; - if (!list_has(['git', 'http'], $protocol)) { + if (!list_has(['git', 'http', 'https'], $protocol)) { error (" b[y[*] Invalid b[git-desired-protocol] $protocol"); error (" b[y[*] Try setting this option to 'git' if you're not using a proxy"); croak_runtime ("Invalid git-desired-protocol: $protocol");