summaryrefslogtreecommitdiff
path: root/tools/msbuild
diff options
context:
space:
mode:
Diffstat (limited to 'tools/msbuild')
-rw-r--r--tools/msbuild/install.bat7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/msbuild/install.bat b/tools/msbuild/install.bat
index 2b66a6c01ae..fb00d277b9c 100644
--- a/tools/msbuild/install.bat
+++ b/tools/msbuild/install.bat
@@ -18,8 +18,9 @@ IF EXIST %D% GOTO FOUND_V110
SET D="%ProgramFiles(x86)%\MSBuild\Microsoft.Cpp\v4.0\V110\Platforms\Win32\PlatformToolsets"
IF EXIST %D% GOTO FOUND_V110
-IF NOT SUCCESS == 1 echo Failed to find MSBuild toolsets directory.
-IF NOT SUCCESS == 1 goto FAILED
+IF %SUCCESS% == 1 goto DONE
+echo Failed to find MSBuild toolsets directory.
+goto FAILED
:FOUND_V100
@@ -45,6 +46,8 @@ copy Microsoft.Cpp.Win32.LLVM-vs2012_xp.props %D%\LLVM-vs2012_xp
IF NOT %ERRORLEVEL% == 0 GOTO FAILED
copy Microsoft.Cpp.Win32.LLVM-vs2012_xp.targets %D%\LLVM-vs2012_xp
IF NOT %ERRORLEVEL% == 0 GOTO FAILED
+
+:DONE
echo Done!
goto END