address review comments
This commit is contained in:
parent
2f7a1564bb
commit
ea72880659
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user