summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2022-05-18 17:08:05 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2022-05-18 17:08:05 +0200
commite6c1bf9c9a1e7aae2069d6d1790133c4c0d9be3a (patch)
tree2d66673e70e7d8b68731228362b2ca9bebaec0a5 /tools
parentmake-packages: Include systemd unit with RPM (diff)
make-binaries: Adjust Mnesia spool directory path
Adjust the default Mnesia directory for compatibility with older binary packages. Closes #3818.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/make-binaries1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/make-binaries b/tools/make-binaries
index 57aaaa7b..a15a9422 100755
--- a/tools/make-binaries
+++ b/tools/make-binaries
@@ -367,6 +367,7 @@ edit_ejabberdctl()
-e '/ERL_OPTIONS=/d' \
-e 's|^ERLANG_NODE=ejabberd$|ERLANG_NODE=ejabberd@localhost|' \
-e 's|_DIR:=".*}/|_DIR:="/opt/ejabberd/|' \
+ -e 's|/database|/database/$ERLANG_NODE|' \
"$code_dir/bin/${rel_name}ctl"
}
#.