aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTyler Margison <[email protected]>2014-05-12 20:15:26 -0700
committerTyler Margison <[email protected]>2014-05-28 13:33:17 -0700
commitdcbd5fd097b3fe66bb2822a8a3c13fed47372d0f (patch)
tree397da72d247046070a9b462fac9ab238c820ba54
parent58b99e7f457bc056e91d2d1721cbb65fcd517afe (diff)
downloaderlang.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.mk2
-rw-r--r--erlang.mk2
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.
diff --git a/erlang.mk b/erlang.mk
index 814d45a..53ef507 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -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)