]> git.saurik.com Git - wxWidgets.git/commitdiff
Correct type MSVCProjectBuilder in the build script.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 23 May 2011 23:20:18 +0000 (23:20 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 23 May 2011 23:20:18 +0000 (23:20 +0000)
This prevented MSVC version detection from environment variables from working.

Closes #13243.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/tools/builder.py

index 5eecbe87a25763eb7956c48c6d51d57b15731ab6..10971626522ffca690796d803509e12f817fa8a3 100755 (executable)
@@ -200,7 +200,7 @@ class MSVCProjectBuilder(Builder):
         Builder.__init__(self, commandName="VCExpress.exe", formatName="msvcProject")
         for key in ["VS90COMNTOOLS", "VC80COMNTOOLS", "VC71COMNTOOLS"]:
             if os.environ.has_key(key):
-                self.prgoramDir = os.path.join(os.environ[key], "..", "IDE")
+                self.programDir = os.path.join(os.environ[key], "..", "IDE")
 
         if self.programDir == None:
             for version in ["9.0", "8", ".NET 2003"]: