aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrzej Sliwa <[email protected]>2014-06-03 22:04:28 +0200
committerAndrzej Sliwa <[email protected]>2014-06-10 22:09:11 +0200
commit63d511525d811687b67c4489c54cd1eed1e4d580 (patch)
tree896e8743b4adbd54f5715c3dccb88adea1631d76
parent7959d8914af2a2c7416911c02e1d30874a6fbb29 (diff)
downloaderlang.mk-63d511525d811687b67c4489c54cd1eed1e4d580.tar.gz
erlang.mk-63d511525d811687b67c4489c54cd1eed1e4d580.tar.bz2
erlang.mk-63d511525d811687b67c4489c54cd1eed1e4d580.zip
fixed problem of fetching package file.
-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)