aboutsummaryrefslogtreecommitdiffstats
path: root/erlang.mk
diff options
context:
space:
mode:
authorSlava Yurin <[email protected]>2014-10-24 16:20:22 +0700
committerSlava Yurin <[email protected]>2014-10-24 16:25:44 +0700
commitdb2d7ee5e91d0fcbe0ec8211f7906e3541909d6b (patch)
tree6e8f255ae9a9e97347f6a78c8402001a0df874d4 /erlang.mk
parent17d7d5248bebab195d64ece04f6aa25563534a5d (diff)
downloaderlang.mk-db2d7ee5e91d0fcbe0ec8211f7906e3541909d6b.tar.gz
erlang.mk-db2d7ee5e91d0fcbe0ec8211f7906e3541909d6b.tar.bz2
erlang.mk-db2d7ee5e91d0fcbe0ec8211f7906e3541909d6b.zip
Don't download index file
If all deps know where to download it, then don't download index file.
Diffstat (limited to 'erlang.mk')
-rw-r--r--erlang.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/erlang.mk b/erlang.mk
index 4d4d138..c0e09ed 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -132,8 +132,8 @@ endef
define dep_target
$(DEPS_DIR)/$(1):
@mkdir -p $(DEPS_DIR)
- @if [ ! -f $(PKG_FILE2) ]; then $(call core_http_get,$(PKG_FILE2),$(PKG_FILE_URL)); fi
ifeq (,$(dep_$(1)))
+ @if [ ! -f $(PKG_FILE2) ]; then $(call core_http_get,$(PKG_FILE2),$(PKG_FILE_URL)); fi
@DEPPKG=$$$$(awk 'BEGIN { FS = "\t" }; $$$$1 == "$(1)" { print $$$$2 " " $$$$3 " " $$$$4 }' $(PKG_FILE2);); \
VS=$$$$(echo $$$$DEPPKG | cut -d " " -f1); \
REPO=$$$$(echo $$$$DEPPKG | cut -d " " -f2); \