Skip to content

Commit 60676be

Browse files
committed
Update erlang.mk
1 parent 8c8f9aa commit 60676be

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

erlang.mk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
ERLANG_MK_FILENAME := $(realpath $(lastword $(MAKEFILE_LIST)))
1818
export ERLANG_MK_FILENAME
1919

20-
ERLANG_MK_VERSION = 2.0.0-pre.2-493-g40c2b81
20+
ERLANG_MK_VERSION = 2.0.0-pre.2-495-g8217957
2121
ERLANG_MK_WITHOUT =
2222

2323
# Make 3.81 and 3.82 are deprecated.
@@ -185,7 +185,7 @@ core_http_get = curl -Lf$(if $(filter-out 0,$(V)),,s)o $(call core_native_path,$
185185
core_eq = $(and $(findstring $(1),$(2)),$(findstring $(2),$(1)))
186186

187187
# We skip files that contain spaces because they end up causing issues.
188-
core_find = $(if $(wildcard $1),$(shell find $(1:%/=%) -type f -name $(subst *,\*,$2) | grep -v " "))
188+
core_find = $(if $(wildcard $1),$(shell find $(1:%/=%) \( -type l -o -type f \) -name $(subst *,\*,$2) | grep -v " "))
189189

190190
core_lc = $(subst A,a,$(subst B,b,$(subst C,c,$(subst D,d,$(subst E,e,$(subst F,f,$(subst G,g,$(subst H,h,$(subst I,i,$(subst J,j,$(subst K,k,$(subst L,l,$(subst M,m,$(subst N,n,$(subst O,o,$(subst P,p,$(subst Q,q,$(subst R,r,$(subst S,s,$(subst T,t,$(subst U,u,$(subst V,v,$(subst W,w,$(subst X,x,$(subst Y,y,$(subst Z,z,$(1)))))))))))))))))))))))))))
191191

@@ -5306,11 +5306,11 @@ define makedep.erl
53065306
string:join(DirSubname ++ [atom_to_list(Target)], "/")
53075307
end
53085308
end,
5309-
ok = file:write_file("$(1)", [
5309+
ok = file:write_file("$(1)", unicode:characters_to_binary([
53105310
"# Generated by Erlang.mk. Edit at your own risk!\n\n",
53115311
[[F, "::", [[" ", D] || D <- Deps], "; @touch \$$@\n"] || {F, Deps} <- Depend],
53125312
"\nCOMPILE_FIRST +=", [[" ", TargetPath(CF)] || CF <- CompileFirst], "\n"
5313-
]),
5313+
])),
53145314
halt()
53155315
endef
53165316

0 commit comments

Comments
 (0)