Fix compatibility with BSD df (#13653)

This commit is contained in:
Bo Anderson 2022-04-19 14:44:59 +01:00 committed by GitHub
parent 21c7bb3abb
commit e44e5907d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -561,20 +561,20 @@
BeforeTargets="Build"
Condition=" '$(CleanWhileBuilding)' == 'true' ">
<Message Text="DirSize Before Building $(RepositoryName)" Importance="High" />
<Exec Command="df --block-size=1M $(ProjectDir)" />
<Exec Command="df -h $(ProjectDir)" />
</Target>
<Target Name="DisplayDirSizeAfterBuild"
AfterTargets="Build"
BeforeTargets="CleanupRepo"
Condition=" '$(CleanWhileBuilding)' == 'true' ">
<Message Text="DirSize After Building $(RepositoryName)" Importance="High" />
<Exec Command="df --block-size=1M $(ProjectDir)" />
<Exec Command="df -h $(ProjectDir)" />
</Target>
<Target Name="DisplayDirSizeAfterClean"
AfterTargets="CleanupRepo"
Condition=" '$(CleanWhileBuilding)' == 'true' ">
<Message Text="DirSize After CleanupRepo $(RepositoryName)" Importance="High" />
<Exec Command="df --block-size=1M $(ProjectDir)" />
<Exec Command="df -h $(ProjectDir)" />
</Target>
<Target Name="CleanupRepo"