From db2d7ee5e91d0fcbe0ec8211f7906e3541909d6b Mon Sep 17 00:00:00 2001 From: Slava Yurin Date: Fri, 24 Oct 2014 16:20:22 +0700 Subject: Don't download index file If all deps know where to download it, then don't download index file. --- core/deps.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') 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); \ -- cgit v1.2.3