]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Ensures intermediate directory is created before accessing it.
authorSteve Dower <steve.dower@microsoft.com>
Sat, 3 Dec 2016 19:56:20 +0000 (11:56 -0800)
committerSteve Dower <steve.dower@microsoft.com>
Sat, 3 Dec 2016 19:56:20 +0000 (11:56 -0800)
PCbuild/pythoncore.vcxproj

index dc5c6703c799607affab574013532468da302678..970344fd123308dce48f250b06c425293b7c9393 100644 (file)
       <_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" />