summaryrefslogtreecommitdiff
path: root/PCbuild/pythoncore.vcxproj
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-12-03 11:56:20 -0800
committerSteve Dower <steve.dower@microsoft.com>2016-12-03 11:56:20 -0800
commit74b2487b4338b4f54f5975345ad573ce2b6735ea (patch)
tree171180515642ac7dfc8ff74b8b6b5e6b1c8233da /PCbuild/pythoncore.vcxproj
parente724fe060b189a4879fd9713a24bbfe6c9eb008e (diff)
downloadcpython-74b2487b4338b4f54f5975345ad573ce2b6735ea.tar.gz
Ensures intermediate directory is created before accessing it.
Diffstat (limited to 'PCbuild/pythoncore.vcxproj')
-rw-r--r--PCbuild/pythoncore.vcxproj1
1 files changed, 1 insertions, 0 deletions
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj
index dc5c6703c7..970344fd12 100644
--- a/PCbuild/pythoncore.vcxproj
+++ b/PCbuild/pythoncore.vcxproj
@@ -405,6 +405,7 @@
<_HG Condition="$(HG.Contains(` `))">"$(HG)"</_HG>
</PropertyGroup>
<Message Text="Getting build info from $(_HG)" Importance="high" />
+ <MakeDir Directories="$(IntDir)" Condition="!Exists($(IntDir))" />
<Exec Command="$(_HG) id -b &gt; &quot;$(IntDir)hgbranch.txt&quot;" ContinueOnError="true" />
<Exec Command="$(_HG) id -i &gt; &quot;$(IntDir)hgversion.txt&quot;" ContinueOnError="true" />
<Exec Command="$(_HG) id -t &gt; &quot;$(IntDir)hgtag.txt&quot;" ContinueOnError="true" />