diff options
author | Rahul Kumar <rahku@microsoft.com> | 2016-05-03 22:21:57 -0700 |
---|---|---|
committer | Rahul Kumar <rahku@microsoft.com> | 2016-05-03 22:21:57 -0700 |
commit | 09d6a5d6536adc498917728d3224b1ee7f779d65 (patch) | |
tree | 9799aae935ff66351cf08a66cc37e77b514cde94 /build.cmd | |
parent | 7eb8accc6846757925ab6f7896d76a204f9fa509 (diff) | |
parent | 463322e4e0700d8d839acc4ceed36425bafa65c3 (diff) | |
download | coreclr-09d6a5d6536adc498917728d3224b1ee7f779d65.tar.gz coreclr-09d6a5d6536adc498917728d3224b1ee7f779d65.tar.bz2 coreclr-09d6a5d6536adc498917728d3224b1ee7f779d65.zip |
Merge pull request #4759 from rahku/crossgen
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
@@ -450,7 +450,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 |