Fix compatibility with BSD df (#13653)
This commit is contained in:
parent
21c7bb3abb
commit
e44e5907d6
1 changed files with 3 additions and 3 deletions
|
@ -561,20 +561,20 @@
|
||||||
BeforeTargets="Build"
|
BeforeTargets="Build"
|
||||||
Condition=" '$(CleanWhileBuilding)' == 'true' ">
|
Condition=" '$(CleanWhileBuilding)' == 'true' ">
|
||||||
<Message Text="DirSize Before Building $(RepositoryName)" Importance="High" />
|
<Message Text="DirSize Before Building $(RepositoryName)" Importance="High" />
|
||||||
<Exec Command="df --block-size=1M $(ProjectDir)" />
|
<Exec Command="df -h $(ProjectDir)" />
|
||||||
</Target>
|
</Target>
|
||||||
<Target Name="DisplayDirSizeAfterBuild"
|
<Target Name="DisplayDirSizeAfterBuild"
|
||||||
AfterTargets="Build"
|
AfterTargets="Build"
|
||||||
BeforeTargets="CleanupRepo"
|
BeforeTargets="CleanupRepo"
|
||||||
Condition=" '$(CleanWhileBuilding)' == 'true' ">
|
Condition=" '$(CleanWhileBuilding)' == 'true' ">
|
||||||
<Message Text="DirSize After Building $(RepositoryName)" Importance="High" />
|
<Message Text="DirSize After Building $(RepositoryName)" Importance="High" />
|
||||||
<Exec Command="df --block-size=1M $(ProjectDir)" />
|
<Exec Command="df -h $(ProjectDir)" />
|
||||||
</Target>
|
</Target>
|
||||||
<Target Name="DisplayDirSizeAfterClean"
|
<Target Name="DisplayDirSizeAfterClean"
|
||||||
AfterTargets="CleanupRepo"
|
AfterTargets="CleanupRepo"
|
||||||
Condition=" '$(CleanWhileBuilding)' == 'true' ">
|
Condition=" '$(CleanWhileBuilding)' == 'true' ">
|
||||||
<Message Text="DirSize After CleanupRepo $(RepositoryName)" Importance="High" />
|
<Message Text="DirSize After CleanupRepo $(RepositoryName)" Importance="High" />
|
||||||
<Exec Command="df --block-size=1M $(ProjectDir)" />
|
<Exec Command="df -h $(ProjectDir)" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="CleanupRepo"
|
<Target Name="CleanupRepo"
|
||||||
|
|
Loading…
Reference in a new issue