Commit 743068c3 authored by Daniel Black's avatar Daniel Black

MDEV-23495: mysql_install_db can run from srcdir

Backport part of 47334649

mysql_install_db will now automatically detect if run from srcdir
parent 7ab972b4
......@@ -296,6 +296,11 @@ then
elif test -n "$dirname0" -a -x "$dirname0/@bindir@/my_print_defaults"
then
print_defaults="$dirname0/@bindir@/my_print_defaults"
elif test -x "./extra/my_print_defaults"
then
srcdir="."
builddir="."
print_defaults="./extra/my_print_defaults"
else
print_defaults="@bindir@/my_print_defaults"
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment