From dafb4e7e5ec96180d727423ec768668f9251a576 Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 5 Nov 2015 20:59:50 +0100 Subject: [PATCH] Fix error locating VC 2010 on cygwin Python --- makepanda/makepandacore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepanda/makepandacore.py b/makepanda/makepandacore.py index 4c4c2581ce..377f6addec 100644 --- a/makepanda/makepandacore.py +++ b/makepanda/makepandacore.py @@ -1964,7 +1964,7 @@ def SdkLocateVisualStudio(version=10): elif (os.path.isfile("C:\\Program Files\\Microsoft Visual Studio %s\\VC\\bin\\cl.exe" % (version))): SDK["VISUALSTUDIO"] = "C:\\Program Files\\Microsoft Visual Studio %s\\" % (version) - elif (os.path.isfile("C:\\Program Files (x86)\\Microsoft Visual Studio %s\\VC\\bin\\cl.exe")): + elif (os.path.isfile("C:\\Program Files (x86)\\Microsoft Visual Studio %s\\VC\\bin\\cl.exe" % (version))): SDK["VISUALSTUDIO"] = "C:\\Program Files (x86)\\Microsoft Visual Studio %s\\" % (version) elif "VCINSTALLDIR" in os.environ: