Bug#42588 system_mysql_db_fix30020 fails when run from bin dist with mtr2

- Properly set --bindir=$path_client_bindir and --basedir=$basedir by adding %s format specifier
This commit is contained in:
Magnus Svensson 2009-02-04 10:49:52 +01:00
parent a07a7afefa
commit 4561831bf7

View file

@ -1528,8 +1528,8 @@ sub mysql_fix_arguments () {
mtr_init_args(\$args);
mtr_add_arg($args, "--defaults-file=%s", $path_config_file);
mtr_add_arg($args, "--basedir=", $basedir);
mtr_add_arg($args, "--bindir=", $path_client_bindir);
mtr_add_arg($args, "--basedir=%s", $basedir);
mtr_add_arg($args, "--bindir=%s", $path_client_bindir);
mtr_add_arg($args, "--verbose");
return mtr_args2str($exe, @$args);
}