diff options
| author | Jean-Sébastien Pédron <jean-sebastien.pedron@dumbbell.fr> | 2021-04-08 10:58:51 +0200 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien.pedron@dumbbell.fr> | 2021-04-13 14:43:32 +0200 |
| commit | cc433b72cb88d753ec6e472d418e05eab4c0a15b (patch) | |
| tree | 0425e989b5f01f598a773db9915664658e5b2d5f | |
| parent | 6b337b49c7f7c500e128cce60d8086a1c972c491 (diff) | |
| download | rabbitmq-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |
