summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <jean-sebastien.pedron@dumbbell.fr>2021-04-08 10:58:51 +0200
committerJean-Sébastien Pédron <jean-sebastien.pedron@dumbbell.fr>2021-04-13 14:43:32 +0200
commitcc433b72cb88d753ec6e472d418e05eab4c0a15b (patch)
tree0425e989b5f01f598a773db9915664658e5b2d5f
parent6b337b49c7f7c500e128cce60d8086a1c972c491 (diff)
downloadrabbitmq-server-git-cc433b72cb88d753ec6e472d418e05eab4c0a15b.tar.gz
Makefile: Use `core_native_path` on filenames passed to Erlang
... in the source dist recipe. This is required when running the recipe in MSYS2 because Erlang runs with regular Windows paths, not the MSYS2 namespace.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7826e51ee4..9ee1cf559c 100644
--- a/Makefile
+++ b/Makefile
@@ -256,7 +256,7 @@ $(SOURCE_DIST): $(ERLANG_MK_RECURSIVE_DEPS_LIST)
#
# The ETS file must be recreated before compiling RabbitMQ. See the
# `restore-hex-cache-ets-file` Make target.
- $(verbose) $(call erlang,$(call dump_hex_cache_to_erl_term,$@,$@.git-time.txt))
+ $(verbose) $(call erlang,$(call dump_hex_cache_to_erl_term,$(call core_native_path,$@),$(call core_native_path,$@.git-time.txt)))
# Fix file timestamps to have reproducible source archives.
$(verbose) find $@ -print0 | xargs -0 touch -t "$$(cat "$@.git-time.txt")"
$(verbose) rm "$@.git-times.txt" "$@.git-time.txt"