diff options
author | Loïc Hoguin <[email protected]> | 2023-08-31 15:14:39 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2023-08-31 15:14:39 +0200 |
commit | e8e6115a4f8086fa6a23f90713ceeb518d851f70 (patch) | |
tree | 0aa941e0ee8bc3af4f3dd925ec9ccbbccce22c8a | |
parent | 04c473a7e8970f56337617e3574e0ed9351a174b (diff) | |
download | erlang.mk-e8e6115a4f8086fa6a23f90713ceeb518d851f70.tar.gz erlang.mk-e8e6115a4f8086fa6a23f90713ceeb518d851f70.tar.bz2 erlang.mk-e8e6115a4f8086fa6a23f90713ceeb518d851f70.zip |
Fix autopatch on Windows
The bug was introduced in dcc2741 when erl_first_files autopatch
was reworked.
-rw-r--r-- | core/deps.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/deps.mk b/core/deps.mk index 99f9ed1..fac7301 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -475,7 +475,7 @@ define dep_autopatch_rebar.erl false -> ok; {_, Files0} -> Files = [begin - hd(filelib:wildcard("$(call core_native_path,$(DEPS_DIR)/$1/src/**/" ++ filename:rootname(F) ++ ".*rl"))) + hd(filelib:wildcard("$(call core_native_path,$(DEPS_DIR)/$1/src/)**/" ++ filename:rootname(F) ++ ".*rl")) end || "src/" ++ F <- Files0], Names = [[" ", case lists:reverse(F) of "lre." ++ Elif -> lists:reverse(Elif); |