WL#5710 : enable and disable plugins

Added additional search path of /bin for finding tools.
This commit is contained in:
Chuck Bell 2011-07-21 17:46:20 -04:00
parent 3ee5d51daf
commit 2bfb07c85b

View File

@ -924,7 +924,7 @@ static int find_tool(const char *tool_name, char *tool_path)
const char *paths[]= { const char *paths[]= {
opt_basedir, "/usr", "/usr/local/mysql", "/usr/sbin", "/usr/share", opt_basedir, "/usr", "/usr/local/mysql", "/usr/sbin", "/usr/share",
"/extra", "/extra/debug", "/extra/release" "/extra", "/extra/debug", "/extra/release", "/bin"
}; };
for (i= 0; i < (int)array_elements(paths); i++) for (i= 0; i < (int)array_elements(paths); i++)
{ {