Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2022-05-18 18:08:05 +0300
committerHolger Weiss <holger@zedat.fu-berlin.de>2022-05-18 18:08:05 +0300
commite6c1bf9c9a1e7aae2069d6d1790133c4c0d9be3a (patch)
tree2d66673e70e7d8b68731228362b2ca9bebaec0a5 /tools
parentcac31f9325af1030883f9882b0b1b8f07be2c77c (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 57aaaa7b6..a15a94224 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"
}
#.