diff options
author | Steve Dower <steve.dower@microsoft.com> | 2016-12-03 11:56:20 -0800 |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2016-12-03 11:56:20 -0800 |
commit | 74b2487b4338b4f54f5975345ad573ce2b6735ea (patch) | |
tree | 171180515642ac7dfc8ff74b8b6b5e6b1c8233da | |
parent | e724fe060b189a4879fd9713a24bbfe6c9eb008e (diff) | |
download | cpython-74b2487b4338b4f54f5975345ad573ce2b6735ea.tar.gz |
Ensures intermediate directory is created before accessing it.
-rw-r--r-- | PCbuild/pythoncore.vcxproj | 1 |
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 > "$(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" /> |