From aff5c09441185af2b8249aae312d6e85f53479c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 16 Jun 2015 18:09:38 +0200 Subject: Convert git://github.com URIs to https://github.com We do this automatically to make the fetching of dependencies a safer experience. Ensuring it's secure is better than hoping everyone puts the right URI in their deps. --- core/deps.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/deps.mk') diff --git a/core/deps.mk b/core/deps.mk index 181b2b7..d6081da 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -502,18 +502,18 @@ ifeq (,$(dep_$(1))) else ifeq (1,$(words $(dep_$(1)))) $(dep_verbose) VS=git; \ - REPO=$(dep_$(1)); \ + REPO=$(patsubst git://github.com/%,https://github.com/%,$(dep_$(1))); \ COMMIT=master; \ $(call dep_fetch,$(1)) else ifeq (2,$(words $(dep_$(1)))) $(dep_verbose) VS=git; \ - REPO=$(word 1,$(dep_$(1))); \ + REPO=$(patsubst git://github.com/%,https://github.com/%,$(word 1,$(dep_$(1)))); \ COMMIT=$(word 2,$(dep_$(1))); \ $(call dep_fetch,$(1)) else $(dep_verbose) VS=$(word 1,$(dep_$(1))); \ - REPO=$(word 2,$(dep_$(1))); \ + REPO=$(patsubst git://github.com/%,https://github.com/%,$(word 2,$(dep_$(1)))); \ COMMIT=$(word 3,$(dep_$(1))); \ $(call dep_fetch,$(1)) endif -- cgit v1.2.3