bro-33614: Override exit code in find_msbuild.bat (GH-7169)
(cherry picked from commit f9b364fe51
)
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
This commit is contained in:
parent
7e8819a589
commit
100db0b584
|
@ -58,3 +58,4 @@
|
|||
@if not defined MSBUILD @echo Failed to find MSBuild
|
||||
@set _Py_MSBuild_Source=
|
||||
@if not defined MSBUILD @exit /b 1
|
||||
@exit /b 0
|
||||
|
|
|
@ -142,8 +142,8 @@
|
|||
<_Lines Include="@(_Symbols->'%(Symbol)')" />
|
||||
</ItemGroup>
|
||||
<MakeDir Directories="$(IntDir)" />
|
||||
<Message Text="Updating python3stub.def" Condition="@(_OriginalLines) != @(_Lines)" Importance="high" />
|
||||
<Message Text="Updating python3stub.def" Condition="@(_Lines) != @(_OriginalLines)" Importance="high" />
|
||||
<WriteLinesToFile File="$(IntDir)python3stub.def" Lines="@(_Lines)" Overwrite="true"
|
||||
Condition="@(_DefLines) != @(_Lines)" />
|
||||
Condition="@(_Lines) != @(_OriginalLines)" />
|
||||
</Target>
|
||||
</Project>
|
Loading…
Reference in New Issue