Ensures intermediate directory is created before accessing it.
This commit is contained in:
parent
190dbd9ba2
commit
de6efdb772
|
@ -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" />
|
||||
|
|
Loading…
Reference in New Issue