diff options
author | Loïc Hoguin <[email protected]> | 2015-06-16 18:09:38 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-06-16 18:09:38 +0200 |
commit | aff5c09441185af2b8249aae312d6e85f53479c6 (patch) | |
tree | 47c73795c7c7b64964c980de2463403908ee333d | |
parent | dd3f29a5bc896ea389c2b49c73ef5fa8b04074f6 (diff) | |
download | erlang.mk-aff5c09441185af2b8249aae312d6e85f53479c6.tar.gz erlang.mk-aff5c09441185af2b8249aae312d6e85f53479c6.tar.bz2 erlang.mk-aff5c09441185af2b8249aae312d6e85f53479c6.zip |
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.
-rw-r--r-- | core/deps.mk | 6 |
1 files changed, 3 insertions, 3 deletions
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 |