diff options
author | Rahul Kumar <rahku@microsoft.com> | 2016-05-03 15:20:29 -0700 |
---|---|---|
committer | Rahul Kumar <rahku@microsoft.com> | 2016-05-03 15:20:29 -0700 |
commit | 463322e4e0700d8d839acc4ceed36425bafa65c3 (patch) | |
tree | 1b8e67c67674341da907f05a18739f4b678c0e18 /build.cmd | |
parent | 92f671fe9f0fc583805d4f9c3116126444dabcf4 (diff) | |
download | coreclr-463322e4e0700d8d839acc4ceed36425bafa65c3.tar.gz coreclr-463322e4e0700d8d839acc4ceed36425bafa65c3.tar.bz2 coreclr-463322e4e0700d8d839acc4ceed36425bafa65c3.zip |
Fix checking of correct errorlevel for crossgen
Diffstat (limited to 'build.cmd')
-rw-r--r-- | build.cmd | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -449,7 +449,7 @@ echo %__MsgPrefix%Generating native image of mscorlib for %__BuildOS%.%__BuildAr set "__CrossGenMScorlibLog=%__LogsDir%\CrossgenMScorlib_%__BuildOS%__%__BuildArch%__%__BuildType%.log" set "__CrossgenExe=%__CrossComponentBinDir%\crossgen.exe" "%__CrossgenExe%" /Platform_Assemblies_Paths "%__BinDir%" /out "%__BinDir%\mscorlib.ni.dll" "%__BinDir%\mscorlib.dll" > "%__CrossGenMScorlibLog%" 2>&1 -if errorlevel 1 ( +if NOT errorlevel 0 ( echo %__MsgPrefix%Error: CrossGen mscorlib build failed. Refer to the build log file for details: echo %__CrossGenMScorlibLog% exit /b 1 |