Skip to content

Commit f00ef72

Browse files
committed
Ensures intermediate directory is created before using it
2 parents 1058109 + de6efdb commit f00ef72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PCbuild/pythoncore.vcxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,7 @@
412412
<_HG Condition="$(HG.Contains(` `))">"$(HG)"</_HG>
413413
</PropertyGroup>
414414
<Message Text="Getting build info from $(_HG)" Importance="high" />
415+
<MakeDir Directories="$(IntDir)" Condition="!Exists($(IntDir))" />
415416
<Exec Command="$(_HG) id -b &gt; &quot;$(IntDir)hgbranch.txt&quot;" ContinueOnError="true" />
416417
<Exec Command="$(_HG) id -i &gt; &quot;$(IntDir)hgversion.txt&quot;" ContinueOnError="true" />
417418
<Exec Command="$(_HG) id -t &gt; &quot;$(IntDir)hgtag.txt&quot;" ContinueOnError="true" />

0 commit comments

Comments
 (0)