mirror of
https://github.com/python/cpython.git
synced 2026-04-22 03:41:08 +00:00
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
075c662086
commit
6025451d6f
2 changed files with 3 additions and 2 deletions
|
|
@ -57,3 +57,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…
Add table
Add a link
Reference in a new issue