Commit e667cf91 authored by unknown's avatar unknown

Fix mysql_install_db to look for libexecdir relative to basedir when

it has been specified. (Bug #7347)


scripts/mysql_install_db.sh:
  When basedir is specified, look for libexecdir relative to that
parent b692ca4f
...@@ -98,9 +98,9 @@ else ...@@ -98,9 +98,9 @@ else
if test -x "$basedir/libexec/mysqld" if test -x "$basedir/libexec/mysqld"
then then
execdir="$basedir/libexec" execdir="$basedir/libexec"
elif test -x "@libexecdir@/mysqld" elif test -x "$basedir/sbin/mysqld"
then then
execdir="@libexecdir@" execdir="$basedir/sbin"
else else
execdir="$basedir/bin" execdir="$basedir/bin"
fi 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