summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <jean-sebastien.pedron@dumbbell.fr>2019-08-29 20:44:52 +0200
committerJean-Sébastien Pédron <jean-sebastien.pedron@dumbbell.fr>2019-08-29 20:44:52 +0200
commit2c42537e2c70d69027676ac263e5a0fa72eb7d01 (patch)
tree6eacdf2fef475c38cabcc7691e73857eef6c03a1
parentfb5eda5598ff39365c4e9a5e70f7ff43a37095b8 (diff)
downloadrabbitmq-server-git-2c42537e2c70d69027676ac263e5a0fa72eb7d01.tar.gz
Update erlang.mk
-rw-r--r--deps/rabbitmq_aws/erlang.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/rabbitmq_aws/erlang.mk b/deps/rabbitmq_aws/erlang.mk
index f3be7bfc53..11951061e3 100644
--- a/deps/rabbitmq_aws/erlang.mk
+++ b/deps/rabbitmq_aws/erlang.mk
@@ -17,7 +17,7 @@
ERLANG_MK_FILENAME := $(realpath $(lastword $(MAKEFILE_LIST)))
export ERLANG_MK_FILENAME
-ERLANG_MK_VERSION = 2.0.0-pre.2-493-g40c2b81
+ERLANG_MK_VERSION = 2.0.0-pre.2-495-g8217957
ERLANG_MK_WITHOUT =
# 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,$
core_eq = $(and $(findstring $(1),$(2)),$(findstring $(2),$(1)))
# We skip files that contain spaces because they end up causing issues.
-core_find = $(if $(wildcard $1),$(shell find $(1:%/=%) -type f -name $(subst *,\*,$2) | grep -v " "))
+core_find = $(if $(wildcard $1),$(shell find $(1:%/=%) \( -type l -o -type f \) -name $(subst *,\*,$2) | grep -v " "))
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)))))))))))))))))))))))))))
@@ -5306,11 +5306,11 @@ define makedep.erl
string:join(DirSubname ++ [atom_to_list(Target)], "/")
end
end,
- ok = file:write_file("$(1)", [
+ ok = file:write_file("$(1)", unicode:characters_to_binary([
"# Generated by Erlang.mk. Edit at your own risk!\n\n",
[[F, "::", [[" ", D] || D <- Deps], "; @touch \$$@\n"] || {F, Deps} <- Depend],
"\nCOMPILE_FIRST +=", [[" ", TargetPath(CF)] || CF <- CompileFirst], "\n"
- ]),
+ ])),
halt()
endef