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
This commit is contained in:
unknown 2005-01-13 11:58:10 -08:00
parent b692ca4fd5
commit e667cf91da

View file

@ -98,9 +98,9 @@ else
if test -x "$basedir/libexec/mysqld"
then
execdir="$basedir/libexec"
elif test -x "@libexecdir@/mysqld"
elif test -x "$basedir/sbin/mysqld"
then
execdir="@libexecdir@"
execdir="$basedir/sbin"
else
execdir="$basedir/bin"
fi