summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-12-03 19:56:44 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2016-12-03 19:56:44 (GMT)
commitf00ef72ee1ef4f35eaa9ad8a760c11f8c21c5383 (patch)
tree9693ff136582f40218207c2798b2b4319deea0e8
parent1058109b3182522eaa4357ef99ad22b587d36c73 (diff)
parentde6efdb7727853186aba02b3dbc1d59665eedc89 (diff)
downloadcpython-f00ef72ee1ef4f35eaa9ad8a760c11f8c21c5383.zip
cpython-f00ef72ee1ef4f35eaa9ad8a760c11f8c21c5383.tar.gz
cpython-f00ef72ee1ef4f35eaa9ad8a760c11f8c21c5383.tar.bz2
Ensures intermediate directory is created before using it
-rw-r--r--PCbuild/pythoncore.vcxproj1
1 files changed, 1 insertions, 0 deletions
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj
index 89415ae..6b23d8e 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" />