Fix msvc build for localized versions of Visual C++

Magnus Hagander <magnus@hagander.net>

Commit: cd0e8253216907982fe369b91f6d788d699b6c47
Author: Magnus Hagander <magnus@hagander.net>
Date: 2010-10-17T14:36:54Z
Releases: 9.1.0
Fix msvc build for localized versions of Visual C++

Look only at the non-localized part of the output from "vcbuild /?",
which is used to determine the version of Visual Studio in use. Different
languages seem to localize different amounts of the string, but we assume
the part "Microsoft Visual C++" won't be modified.

Files

PathChange+/−
src/tools/msvc/Solution.pm modified +1 −1