Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/bockbuild.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bockbuild/package.py')
-rw-r--r--bockbuild/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bockbuild/package.py b/bockbuild/package.py
index 7d73206..9b9c1ca 100644
--- a/bockbuild/package.py
+++ b/bockbuild/package.py
@@ -380,7 +380,7 @@ class Package:
# if source.startswith ('http://'):
# raise Exception ('HTTP downloads are no longer allowed: %s', source)
- if source.startswith(('http://', 'https://', 'ftp://')):
+ if source.startswith(('http://', 'https://', 'ftp://')) and not source.endswith('.git'):
cache = get_download_dest(source, self.version)
if self.profile.cache_host is not None:
cached_source = os.path.join(
@@ -1040,7 +1040,7 @@ class GitHubPackage (Package):
configure_flags=configure_flags,
configure=configure,
sources=[
- 'git://github.com/%{organization}/%{name}.git'],
+ 'https://github.com/%{organization}/%{name}.git'],
override_properties=override_properties)