Ensures intermediate directory is created before using it
This commit is contained in:
commit
f00ef72ee1
|
@ -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 > "$(IntDir)hgbranch.txt"" ContinueOnError="true" />
|
<Exec Command="$(_HG) id -b > "$(IntDir)hgbranch.txt"" ContinueOnError="true" />
|
||||||
<Exec Command="$(_HG) id -i > "$(IntDir)hgversion.txt"" ContinueOnError="true" />
|
<Exec Command="$(_HG) id -i > "$(IntDir)hgversion.txt"" ContinueOnError="true" />
|
||||||
<Exec Command="$(_HG) id -t > "$(IntDir)hgtag.txt"" ContinueOnError="true" />
|
<Exec Command="$(_HG) id -t > "$(IntDir)hgtag.txt"" ContinueOnError="true" />
|
||||||
|
|
Loading…
Reference in New Issue