diff options
author | James Ko <jamesqko@gmail.com> | 2016-08-07 11:21:30 -0400 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-08-07 08:21:30 -0700 |
commit | 5976ffa9a624bd05bbb0d67a742e89bc9f16d1dc (patch) | |
tree | cbebaff323eae066c4bf18105647088a492fe549 /build.cmd | |
parent | ab6bc52f502498d6f6380b8b58d3495a7bd84f35 (diff) | |
download | coreclr-5976ffa9a624bd05bbb0d67a742e89bc9f16d1dc.tar.gz coreclr-5976ffa9a624bd05bbb0d67a742e89bc9f16d1dc.tar.bz2 coreclr-5976ffa9a624bd05bbb0d67a742e89bc9f16d1dc.zip |
Don't overwrite crossgen log in build.cmd script (#6639)
Diffstat (limited to 'build.cmd')
-rw-r--r-- | build.cmd | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -28,7 +28,7 @@ set __VSVersion=vs2015 :: Define a prefix for most output progress messages that come from this script. That makes :: it easier to see where these are coming from. Note that there is a trailing space here. -set __MsgPrefix=BUILD: +set "__MsgPrefix=BUILD: " :: Set the various build properties here so that CMake and MSBuild can pick them up set "__ProjectDir=%~dp0" @@ -346,10 +346,10 @@ if %__BuildNativeCoreLib% EQU 1 ( set "__CrossGenCoreLibLog=%__LogsDir%\CrossgenMSCoreLib_%__BuildOS%__%__BuildArch%__%__BuildType%.log" set "__CrossgenExe=%__CrossComponentBinDir%\crossgen.exe" - "%__CrossgenExe%" /Platform_Assemblies_Paths "%__BinDir%" /out "%__BinDir%\mscorlib.ni.dll" "%__BinDir%\mscorlib.dll" > "%__CrossGenCoreLibLog%" 2>&1 + "!__CrossgenExe!" /Platform_Assemblies_Paths "%__BinDir%" /out "%__BinDir%\mscorlib.ni.dll" "%__BinDir%\mscorlib.dll" > "!__CrossGenCoreLibLog!" 2>&1 if NOT !errorlevel! == 0 ( echo %__MsgPrefix%Error: CrossGen mscorlib facade build failed. Refer to the build log file for details: - echo %__CrossGenCoreLibLog% + echo !__CrossGenCoreLibLog! exit /b 1 ) ) |