aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2025-03-13 15:07:18 +0100
committerLoïc Hoguin <[email protected]>2025-03-13 15:07:18 +0100
commit3f7955bad270767f87272f1066ecb0a7ae0c7914 (patch)
treea6b2b5e840fb3867958937ec14214d7b24c8c90d
parent0206e84eb9c5036ba2e30c1323edc161880be533 (diff)
downloaderlang.mk-3f7955bad270767f87272f1066ecb0a7ae0c7914.tar.gz
erlang.mk-3f7955bad270767f87272f1066ecb0a7ae0c7914.tar.bz2
erlang.mk-3f7955bad270767f87272f1066ecb0a7ae0c7914.zip
Add missing core_native_path call to Hex fetch
Was failing on Windows in lz4-erlang without it.
-rw-r--r--core/deps.mk2
1 files changed, 1 insertions, 1 deletions
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]),