]> granicus.if.org Git - python/commitdiff
bro-33614: Override exit code in find_msbuild.bat (GH-7169)
authorSteve Dower <steve.dower@microsoft.com>
Mon, 28 May 2018 21:05:05 +0000 (14:05 -0700)
committerGitHub <noreply@github.com>
Mon, 28 May 2018 21:05:05 +0000 (14:05 -0700)
PCbuild/find_msbuild.bat
PCbuild/python3dll.vcxproj

index 24f5e2fb5d46396557a87c2d5eab4905cf82c69a..57512a01927eae0c6abf481f8db9adc55c46eaac 100644 (file)
@@ -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
index 0ef7780248fbc89f87732d40f1a90ef7003d5f1a..d2a9cae5d917f8d74508a9d19778f02732f0ca8c 100644 (file)
       <_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