summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2014-12-12 20:18:11 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2014-12-12 20:18:11 (GMT)
commit10e65856a38f888108f1063970b2fa3077af01f8 (patch)
tree1628bf6c719a3d47ec0e23ff54487d01bf1cfee1 /PCbuild
parent5632aff9c13408faaa410bb8cbfd7470f8bd0587 (diff)
downloadcpython-10e65856a38f888108f1063970b2fa3077af01f8.zip
cpython-10e65856a38f888108f1063970b2fa3077af01f8.tar.gz
cpython-10e65856a38f888108f1063970b2fa3077af01f8.tar.bz2
Removes use of ValueOrDefault function that is not always available on the buildbots.
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/pyproject.props3
1 files changed, 2 insertions, 1 deletions
diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props
index 3203867..1130503 100644
--- a/PCbuild/pyproject.props
+++ b/PCbuild/pyproject.props
@@ -118,7 +118,8 @@ foreach (System.Diagnostics.Process p in System.Diagnostics.Process.GetProcesses
</Code>
</Task>
</UsingTask>
- <Target Name="KillPython" BeforeTargets="InitializeBuildStatus" Condition="$([msbuild]::ValueOrDefault($(KillPython), 'false'))">
+
+ <Target Name="KillPython" BeforeTargets="InitializeBuildStatus" Condition="'$(KillPython)' == 'true'">
<Message Text="Killing any running python.exe instances..." Importance="high" />
<KillPython FileName="$(OutDir)python$(PyDebugExt).exe" />
</Target>