aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2014-06-18 15:03:35 +0200
committerLoïc Hoguin <[email protected]>2014-06-18 15:03:35 +0200
commitf2e7ca3b3d9562b186fb276c72ee7f45a8304c32 (patch)
treeb94dc96abbff10e5959ea57bee9d843e92b4d5d2
parentcbda6e436d792b7db0ef097afb200a3e69326647 (diff)
parent63d511525d811687b67c4489c54cd1eed1e4d580 (diff)
downloaderlang.mk-f2e7ca3b3d9562b186fb276c72ee7f45a8304c32.tar.gz
erlang.mk-f2e7ca3b3d9562b186fb276c72ee7f45a8304c32.tar.bz2
erlang.mk-f2e7ca3b3d9562b186fb276c72ee7f45a8304c32.zip
Merge branch 'fix_for_new_deps_downloading' of git://github.com/andrzejsliwa/erlang.mk
-rw-r--r--core/deps.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/deps.mk b/core/deps.mk
index adf9b6f..27eefe5 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -47,7 +47,7 @@ define dep_fetch
ifeq (,$(findstring pkg://,$(word 1,$(dep_$(1)))))
git clone -n -- $(word 1,$(dep_$(1))) $(DEPS_DIR)/$(1)
else
- @if [ ! -f $(PKG_FILE) ]; then $(call get_pkg_file); fi
+ @if [ ! -f $(PKG_FILE) ]; then $(call core_http_get,$(PKG_FILE),$(PKG_FILE_URL)); fi
git clone -n -- `awk 'BEGIN { FS = "\t" }; \
$$$$1 == "$(subst pkg://,,$(word 1,$(dep_$(1))))" { print $$$$2 }' \
$(PKG_FILE)` $(DEPS_DIR)/$(1)