Kaydet (Commit) f00ef72e authored tarafından Steve Dower's avatar Steve Dower

Ensures intermediate directory is created before using it

...@@ -412,6 +412,7 @@ ...@@ -412,6 +412,7 @@
<_HG Condition="$(HG.Contains(` `))">"$(HG)"</_HG> <_HG Condition="$(HG.Contains(` `))">"$(HG)"</_HG>
</PropertyGroup> </PropertyGroup>
<Message Text="Getting build info from $(_HG)" Importance="high" /> <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 -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 -i &gt; &quot;$(IntDir)hgversion.txt&quot;" ContinueOnError="true" />
<Exec Command="$(_HG) id -t &gt; &quot;$(IntDir)hgtag.txt&quot;" ContinueOnError="true" /> <Exec Command="$(_HG) id -t &gt; &quot;$(IntDir)hgtag.txt&quot;" ContinueOnError="true" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment