address review comments

This commit is contained in:
Vladislav Vaintroub 2010-12-02 15:56:25 +01:00
parent 2f7a1564bb
commit ea72880659

View File

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