From 3f7955bad270767f87272f1066ecb0a7ae0c7914 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 13 Mar 2025 15:07:18 +0100 Subject: Add missing core_native_path call to Hex fetch Was failing on Windows in lz4-erlang without it. --- core/deps.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/deps.mk b/core/deps.mk index d557957..eb4685c 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -798,7 +798,7 @@ define hex_get_tarball.erl Config = $(hex_config.erl), case hex_repo:get_tarball(Config, <<"$1">>, <<"$(strip $2)">>) of {ok, {200, _, Tarball}} -> - ok = file:write_file("$3", Tarball), + ok = file:write_file("$(call core_native_path,$3)", Tarball), halt(0); {ok, {Status, _, Errors}} -> io:format("Error ~b: ~0p~n", [Status, Errors]), -- cgit v1.2.3