Fix msvc auto-configuration (yikes!)

[SVN r41842]
This commit is contained in:
Dave Abrahams 2007-12-07 23:23:39 +00:00
parent 5769c25446
commit 896778013f

View File

@ -996,11 +996,10 @@ if [ os.name ] in NT CYGWIN
for local x in "" "Wow6432Node\\"
{
vc-path += [ W32_GETREG
"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\"$(x)$(.version-$(i)-reg)
"HKEY_LOCAL_MACHINE\\SOFTWARE\\"$(x)"\\Microsoft\\"$(.version-$(i)-reg)
: "ProductDir" ] ;
}
if $(vc-path)
{
vc-path = [ path.native [ path.join [ path.make-NT $(vc-path[1]) ] "bin" ] ] ;