diff options
author | Tyler Margison <[email protected]> | 2014-05-12 20:15:26 -0700 |
---|---|---|
committer | Tyler Margison <[email protected]> | 2014-05-28 13:33:17 -0700 |
commit | dcbd5fd097b3fe66bb2822a8a3c13fed47372d0f (patch) | |
tree | 397da72d247046070a9b462fac9ab238c820ba54 | |
parent | 58b99e7f457bc056e91d2d1721cbb65fcd517afe (diff) | |
download | erlang.mk-dcbd5fd097b3fe66bb2822a8a3c13fed47372d0f.tar.gz erlang.mk-dcbd5fd097b3fe66bb2822a8a3c13fed47372d0f.tar.bz2 erlang.mk-dcbd5fd097b3fe66bb2822a8a3c13fed47372d0f.zip |
Change GitHub raw file URL
GitHub issues a 301 Moved Permanently response on all calls to
`https://raw.github.com`, which redirects to
`https://raw.githubusercontent.com`.
-rw-r--r-- | core/deps.mk | 2 | ||||
-rw-r--r-- | erlang.mk | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/deps.mk b/core/deps.mk index 12bc90c..adf9b6f 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -25,7 +25,7 @@ export ERL_LIBS PKG_FILE ?= $(CURDIR)/.erlang.mk.packages.v1 export PKG_FILE -PKG_FILE_URL ?= https://raw.github.com/extend/erlang.mk/master/packages.v1.tsv +PKG_FILE_URL ?= https://raw.githubusercontent.com/extend/erlang.mk/master/packages.v1.tsv # Core targets. @@ -21,7 +21,7 @@ PROJECT ?= $(notdir $(CURDIR)) PKG_FILE ?= $(CURDIR)/.erlang.mk.packages.v1 export PKG_FILE -PKG_FILE_URL ?= https://raw.github.com/extend/erlang.mk/master/packages.v1.tsv +PKG_FILE_URL ?= https://raw.githubusercontent.com/extend/erlang.mk/master/packages.v1.tsv define get_pkg_file wget --no-check-certificate -O $(PKG_FILE) $(PKG_FILE_URL) || rm $(PKG_FILE) |