forked from openkylin/platform_build
Merge "releasetools: Use du -b" am: b5e650a119
am: a3140155a1
Change-Id: Idbb5bf079d1228e8db71d0f86ca20fbe23aab9f0
This commit is contained in:
commit
4e75f0e0d0
|
@ -57,7 +57,7 @@ def GetDiskUsage(path):
|
|||
Returns:
|
||||
The number of bytes based on a 1K block_size.
|
||||
"""
|
||||
cmd = ["du", "-k", "-s", path]
|
||||
cmd = ["du", "-b", "-k", "-s", path]
|
||||
output = common.RunAndCheckOutput(cmd, verbose=False)
|
||||
return int(output.split()[0]) * 1024
|
||||
|
||||
|
|
Loading…
Reference in New Issue