summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-12-03 19:56:20 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2016-12-03 19:56:20 (GMT)
commitde6efdb7727853186aba02b3dbc1d59665eedc89 (patch)
tree8c413e13ada5658aebd126f85cdf60b02ecb6fbf /PCbuild
parent190dbd9ba20610bfd19b2f3544ec9d9d3fd92b0b (diff)
downloadcpython-de6efdb7727853186aba02b3dbc1d59665eedc89.zip
cpython-de6efdb7727853186aba02b3dbc1d59665eedc89.tar.gz
cpython-de6efdb7727853186aba02b3dbc1d59665eedc89.tar.bz2
Ensures intermediate directory is created before accessing 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 dc5c670..970344f 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" />