diff options
author | Slava Yurin <[email protected]> | 2014-10-24 16:20:22 +0700 |
---|---|---|
committer | Slava Yurin <[email protected]> | 2014-10-24 16:25:44 +0700 |
commit | db2d7ee5e91d0fcbe0ec8211f7906e3541909d6b (patch) | |
tree | 6e8f255ae9a9e97347f6a78c8402001a0df874d4 /core | |
parent | 17d7d5248bebab195d64ece04f6aa25563534a5d (diff) | |
download | erlang.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 'core')
-rw-r--r-- | core/deps.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/deps.mk b/core/deps.mk index 490e675..b46a7c0 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -58,8 +58,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); \ |