diff options
author | Steve Dower <steve.dower@microsoft.com> | 2018-05-28 21:05:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-28 21:05:05 (GMT) |
commit | f9b364fe51ac083e3e423b1e2cefe0e1ad7d9a60 (patch) | |
tree | 596789077dbc364fee4a14b97c7bd2d9c3efe8a7 /PCbuild | |
parent | 989b9e0e6d7dd2fa911f9bfd4744e7f3a82d6006 (diff) | |
download | cpython-f9b364fe51ac083e3e423b1e2cefe0e1ad7d9a60.zip cpython-f9b364fe51ac083e3e423b1e2cefe0e1ad7d9a60.tar.gz cpython-f9b364fe51ac083e3e423b1e2cefe0e1ad7d9a60.tar.bz2 |
bro-33614: Override exit code in find_msbuild.bat (GH-7169)
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 24f5e2f..57512a0 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 0ef7780..d2a9cae 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 |