diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2021-12-23 14:24:27 +0100 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2021-12-23 14:24:27 +0100 |
commit | 94a733c6669afb7b41fdafcb9bf0a4ac24a483f2 (patch) | |
tree | c19bfcf75b53532879c1392c09297f56c71f8a66 /rebar.config | |
parent | Workaround to support ShellCheck older than 0.8.0 (diff) |
Fix ERTS path in ejabberdctl with `rebar3 release`
Rebar 2 expands {{erts-vsn}} to "erts-$vsn", Rebar 3 expands it to just
"$vsn". Make sure `make rel` doesn't end up with a "$vsn" directory
next to "erts-$vsn" (which happened when using Rebar 3), and make sure
that ejabberdctl expects both "erl" and "epmd" to be installed below
"erts-$vsn" (which it didn't when using Rebar 3).
Diffstat (limited to 'rebar.config')
-rw-r--r-- | rebar.config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rebar.config b/rebar.config index 02993d89..80683b44 100644 --- a/rebar.config +++ b/rebar.config @@ -181,7 +181,7 @@ {overlay, [{mkdir, "var/log/ejabberd"}, {mkdir, "var/lib/ejabberd"}, {mkdir, "etc/ejabberd"}, - {copy, "rel/files/erl", "\{\{erts_vsn\}\}/bin/erl"}, % in rebar2 this prepends erts- + {copy, "rel/files/erl", "erts-\{\{erts_vsn\}\}/bin/erl"}, {template, "ejabberdctl.template", "bin/ejabberdctl"}, {copy, "inetrc", "etc/ejabberd/inetrc"}, {copy, "tools/captcha*.sh", "lib/ejabberd-\{\{release_version\}\}/priv/bin/"}, |