From 5e4de91c73f1be39fd4e85e0c526ef62e40a4431 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 15 May 2023 17:01:59 +0200 Subject: Cleaned up dep cache tests, added hex test and fixed a bug --- core/deps.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/deps.mk') diff --git a/core/deps.mk b/core/deps.mk index 88ac551..b96b087 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -783,7 +783,7 @@ define dep_fetch_hex mkdir -p $(CACHE_DIR)/hex $(DEPS_DIR)/$1; \ $(eval hex_tar_name=$(if $(word 3,$(dep_$1)),$(word 3,$(dep_$1)),$1)-$(strip $(word 2,$(dep_$1))).tar) \ $(if $(wildcard $(CACHE_DIR)/hex/$(hex_tar_name)),,$(call core_http_get,$(CACHE_DIR)/hex/$(hex_tar_name),\ - https://repo.hex.pm/tarballs/$(hex_tar_name))); \ + https://repo.hex.pm/tarballs/$(hex_tar_name);)) \ tar -xOf $(CACHE_DIR)/hex/$(hex_tar_name) contents.tar.gz | tar -C $(DEPS_DIR)/$1 -xzf -; endef -- cgit v1.2.3