summaryrefslogtreecommitdiff
path: root/PCbuild
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-12-03 11:56:44 -0800
committerSteve Dower <steve.dower@microsoft.com>2016-12-03 11:56:44 -0800
commitf00ef72ee1ef4f35eaa9ad8a760c11f8c21c5383 (patch)
tree9693ff136582f40218207c2798b2b4319deea0e8 /PCbuild
parent1058109b3182522eaa4357ef99ad22b587d36c73 (diff)
parentde6efdb7727853186aba02b3dbc1d59665eedc89 (diff)
downloadcpython-git-f00ef72ee1ef4f35eaa9ad8a760c11f8c21c5383.tar.gz
Ensures intermediate directory is created before using it
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/pythoncore.vcxproj1
1 files changed, 1 insertions, 0 deletions
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj
index 89415ae087..6b23d8ecac 100644
--- a/PCbuild/pythoncore.vcxproj
+++ b/PCbuild/pythoncore.vcxproj
@@ -412,6 +412,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" />