Commit ea728806 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

address review comments

parent 2f7a1564
...@@ -2516,15 +2516,14 @@ sub fix_vs_config_dir () { ...@@ -2516,15 +2516,14 @@ sub fix_vs_config_dir () {
my $modified = 1e30; my $modified = 1e30;
$opt_vs_config=""; $opt_vs_config="";
for my $dir (qw(sql/*)) {
for (<$basedir/$dir/mysqld.exe>) { for (<$basedir/sql/*/mysqld.exe>) {
if (-M $_ < $modified) if (-M $_ < $modified)
{ {
$modified = -M _; $modified = -M _;
$opt_vs_config = basename(dirname($_)); $opt_vs_config = basename(dirname($_));
} }
} }
}
mtr_report("VS config: $opt_vs_config"); mtr_report("VS config: $opt_vs_config");
$opt_vs_config="/$opt_vs_config" if $opt_vs_config; $opt_vs_config="/$opt_vs_config" if $opt_vs_config;
......
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