Skip to content

Commit 100db0b

Browse files
bro-33614: Override exit code in find_msbuild.bat (GH-7169)
(cherry picked from commit f9b364f) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
1 parent 7e8819a commit 100db0b

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
@@ -58,3 +58,4 @@
5858
@if not defined MSBUILD @echo Failed to find MSBuild
5959
@set _Py_MSBuild_Source=
6060
@if not defined MSBUILD @exit /b 1
61+
@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)