summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-05-02 15:23:27 -0700
committerSteve Dower <steve.dower@microsoft.com>2015-05-02 15:23:27 -0700
commit19694abd71150a4a86c97eb9e2d36859260fa907 (patch)
treece3ce22bec3e84434469b8a451c714f049bd6e71 /Tools
parent7173dac61b183e2b100bc820a626b70f63ae0da7 (diff)
downloadcpython-git-19694abd71150a4a86c97eb9e2d36859260fa907.tar.gz
Fixes Python failing to run during Windows release build
Diffstat (limited to 'Tools')
-rw-r--r--Tools/msi/msi.props4
1 files changed, 3 insertions, 1 deletions
diff --git a/Tools/msi/msi.props b/Tools/msi/msi.props
index 6ca0332690..bd22345ec3 100644
--- a/Tools/msi/msi.props
+++ b/Tools/msi/msi.props
@@ -147,7 +147,9 @@
<_GenerateCommand>import uuid; print('\n'.join('{}={}'.format(i, uuid.uuid5(uuid.UUID('c8d9733e-a70c-43ff-ab0c-e26456f11083'), '$(ReleaseUri)' + j)) for i,j in [$(_Uuids.Replace(`"`,`'`))]))</_GenerateCommand>
</PropertyGroup>
- <Exec Command='"$(PythonExe)" -c "$(_GenerateCommand)" &gt; "$(IntermediateOutputPath)$(OutputName)guids.txt"' IgnoreExitCode="false" />
+ <Exec Command='"$(PythonExe)" -c "$(_GenerateCommand)" &gt; "$(IntermediateOutputPath)$(OutputName)guids.txt"'
+ WorkingDirectory="$(MSBuildThisFileDirectory)"
+ IgnoreExitCode="false" />
<ReadLinesFromFile File="$(IntermediateOutputPath)$(OutputName)guids.txt">
<Output TaskParameter="Lines" ItemName="_UuidValue" />