Commit 0cb30e31 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Adapt fix_vs_config_dir () for VS2010

 
MTR_VS_CONFIG is now determined by looking at parent directory 
of sql\*\mysqld.exe,  instead of looking at *\*\BuildLog.htm

Reason : VS2010 does not create BuildLog.htm, hence prior method did not work.
parent 56784da3
......@@ -2516,9 +2516,8 @@ sub fix_vs_config_dir () {
my $modified = 1e30;
$opt_vs_config="";
for my $dir (qw(client/*.dir libmysql/libmysql.dir sql/mysqld.dir
sql/udf_example.dir storage/*/*.dir plugin/*/*.dir)) {
for (<$basedir/$dir/*/BuildLog.htm>) {
for my $dir (qw(sql/*)) {
for (<$basedir/$dir/mysqld.exe>) {
if (-M $_ < $modified)
{
$modified = -M _;
......
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