aboutsummaryrefslogtreecommitdiffstats
path: root/core/deps.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2023-05-15 17:01:59 +0200
committerLoïc Hoguin <[email protected]>2023-05-15 17:01:59 +0200
commit5e4de91c73f1be39fd4e85e0c526ef62e40a4431 (patch)
tree8a31f297adf8cea80ad5a20ee603a08cce8ba997 /core/deps.mk
parent6372d2674cffcab8e6426cba80ef216c3ae1d0cf (diff)
downloaderlang.mk-5e4de91c73f1be39fd4e85e0c526ef62e40a4431.tar.gz
erlang.mk-5e4de91c73f1be39fd4e85e0c526ef62e40a4431.tar.bz2
erlang.mk-5e4de91c73f1be39fd4e85e0c526ef62e40a4431.zip
Cleaned up dep cache tests, added hex test and fixed a bug
Diffstat (limited to 'core/deps.mk')
-rw-r--r--core/deps.mk2
1 files changed, 1 insertions, 1 deletions
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