[Python-checkins] cpython (merge 3.5 -> 3.6): Ensures intermediate directory is created before using it
steve.dower
python-checkins at python.org
Sat Dec 3 15:13:11 EST 2016
https://hg.python.org/cpython/rev/d9879b12c627
changeset: 105434:d9879b12c627
branch: 3.6
parent: 105432:5171bd86a36f
parent: 105433:f30d9af3e509
user: Steve Dower <steve.dower at microsoft.com>
date: Sat Dec 03 11:56:44 2016 -0800
summary:
Ensures intermediate directory is created before using it
files:
PCbuild/pythoncore.vcxproj | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj
--- 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 > "$(IntDir)hgbranch.txt"" ContinueOnError="true" />
<Exec Command="$(_HG) id -i > "$(IntDir)hgversion.txt"" ContinueOnError="true" />
<Exec Command="$(_HG) id -t > "$(IntDir)hgtag.txt"" ContinueOnError="true" />
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list