summaryrefslogtreecommitdiffstats
path: root/tools/dump-package-stats
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2009-11-09 18:19:48 -0800
committerDoug Zongker <dougz@android.com>2009-11-09 18:19:48 -0800
commitf17e63879c9356d107bda7f8d599f7ce5f449051 (patch)
treed2c8d28b4f4d862804cf58203a52adbff8bf75db /tools/dump-package-stats
parent216faf3f1c2c8857ad7e88e860897766c830ce31 (diff)
downloadbuild-f17e63879c9356d107bda7f8d599f7ce5f449051.tar.gz
build-f17e63879c9356d107bda7f8d599f7ce5f449051.tar.bz2
build-f17e63879c9356d107bda7f8d599f7ce5f449051.zip
allow use of unzip version 6.0
Unzip 6.0 changes the name of the fourth column in the "unzip -lv" output from "Ratio" to "Cmpr". Allow either name so that dump-package-stats works with both unzip 5 and unzip 6.
Diffstat (limited to 'tools/dump-package-stats')
-rwxr-xr-xtools/dump-package-stats2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dump-package-stats b/tools/dump-package-stats
index 589bab58f..d11e72746 100755
--- a/tools/dump-package-stats
+++ b/tools/dump-package-stats
@@ -102,7 +102,7 @@ do
$1 != "Length" ||
$2 != "Method" ||
$3 != "Size" ||
- $4 != "Ratio" ||
+ ($4 != "Ratio" && $4 != "Cmpr") ||
$5 != "Date" ||
$6 != "Time" ||
$7 != "CRC-32" ||