Fix how start-sandbox looks for mysqld, broken by previous commit.

This commit is contained in:
Daniel Nichter
2012-11-16 12:08:49 -07:00
parent 3e687ec69a
commit a71759640a

View File

@@ -188,9 +188,9 @@ fi
# ###########################################################################
if [ -x "$PERCONA_TOOLKIT_SANDBOX/bin/mysqld" ]; then
mysqld="bin/mysqld"
elif [ -x "sbin/mysqld" ]; then
elif [ -x "$PERCONA_TOOLKIT_SANDBOX/sbin/mysqld" ]; then
mysqld="sbin/mysqld"
elif [ -x "libexec/mysqld" ]; then
elif [ -x "$PERCONA_TOOLKIT_SANDBOX/libexec/mysqld" ]; then
mysqld="libexec/mysqld"
else
die "Cannot find executable mysqld in $PERCONA_TOOLKIT_SANDBOX/bin, $PERCONA_TOOLKIT_SANDBOX/sbin or $PERCONA_TOOLKIT_SANDBOX/libexec."