diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-05-28 15:39:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-28 15:39:25 -0700 |
commit | 6025451d6fbebdb998b65705ccf0ead5d4355a75 (patch) | |
tree | b23cd0debf14b85e449aaaf549497397fd928e87 /PCbuild | |
parent | 075c662086859f864aa1179f57367aa470ee6335 (diff) | |
download | cpython-git-6025451d6fbebdb998b65705ccf0ead5d4355a75.tar.gz |
bro-33614: Override exit code in find_msbuild.bat (GH-7169)
(cherry picked from commit f9b364fe51ac083e3e423b1e2cefe0e1ad7d9a60)
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
Diffstat (limited to 'PCbuild')
-rw-r--r-- | PCbuild/find_msbuild.bat | 1 | ||||
-rw-r--r-- | PCbuild/python3dll.vcxproj | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/PCbuild/find_msbuild.bat b/PCbuild/find_msbuild.bat index 24f5e2fb5d..57512a0192 100644 --- a/PCbuild/find_msbuild.bat +++ b/PCbuild/find_msbuild.bat @@ -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 diff --git a/PCbuild/python3dll.vcxproj b/PCbuild/python3dll.vcxproj index 0ef7780248..d2a9cae5d9 100644 --- a/PCbuild/python3dll.vcxproj +++ b/PCbuild/python3dll.vcxproj @@ -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>
\ No newline at end of file |