OSDN Git Service
(root)
/
android-x86
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
216faf3
)
allow use of unzip version 6.0
author
Doug Zongker
<dougz@android.com>
Tue, 10 Nov 2009 02:19:48 +0000
(18:19 -0800)
committer
Doug Zongker
<dougz@android.com>
Tue, 10 Nov 2009 02:19:48 +0000
(18:19 -0800)
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.
tools/dump-package-stats
patch
|
blob
|
history
diff --git
a/tools/dump-package-stats
b/tools/dump-package-stats
index
589bab5
..
d11e727
100755
(executable)
--- 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" ||