llvm.org GIT mirror llvm / 6a24c7d
Fix msbuild integration install script. We previously failed to check whether the SUCCESS variable was set, and would thus always exit with a failure if vs2012 didn't exist. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192370 91177308-0d34-0410-b5e6-96231b3b80d8 Hans Wennborg 7 years ago
1 changed file(s) with 5 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
1717 SET D="%ProgramFiles(x86)%\MSBuild\Microsoft.Cpp\v4.0\V110\Platforms\Win32\PlatformToolsets"
1818 IF EXIST %D% GOTO FOUND_V110
1919
20 IF NOT SUCCESS == 1 echo Failed to find MSBuild toolsets directory.
21 IF NOT SUCCESS == 1 goto FAILED
20 IF %SUCCESS% == 1 goto DONE
21 echo Failed to find MSBuild toolsets directory.
22 goto FAILED
2223
2324
2425 :FOUND_V100
4445 IF NOT %ERRORLEVEL% == 0 GOTO FAILED
4546 copy Microsoft.Cpp.Win32.LLVM-vs2012_xp.targets %D%\LLVM-vs2012_xp
4647 IF NOT %ERRORLEVEL% == 0 GOTO FAILED
48
49 :DONE
4750 echo Done!
4851 goto END
4952