Skip to content

Commit f9b364f

Browse files
authored
bro-33614: Override exit code in find_msbuild.bat (GH-7169)
1 parent 989b9e0 commit f9b364f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎PCbuild/find_msbuild.bat‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,4 @@
5757
@if not defined MSBUILD @echo Failed to find MSBuild
5858
@set _Py_MSBuild_Source=
5959
@if not defined MSBUILD @exit /b 1
60+
@exit /b 0

‎PCbuild/python3dll.vcxproj‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@
142142
<_Lines Include="@(_Symbols->'%(Symbol)')" />
143143
</ItemGroup>
144144
<MakeDir Directories="$(IntDir)" />
145-
<Message Text="Updating python3stub.def" Condition="@(_OriginalLines) != @(_Lines)" Importance="high" />
145+
<Message Text="Updating python3stub.def" Condition="@(_Lines) != @(_OriginalLines)" Importance="high" />
146146
<WriteLinesToFile File="$(IntDir)python3stub.def" Lines="@(_Lines)" Overwrite="true"
147-
Condition="@(_DefLines) != @(_Lines)" />
147+
Condition="@(_Lines) != @(_OriginalLines)" />
148148
</Target>
149149
</Project>

0 commit comments

Comments
 (0)