aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-11-15 14:26:50 -0800
committerElliott Hughes <enh@google.com>2019-11-15 14:26:50 -0800
commit0ee306fdf3eb11f5c00f7f576baffca5e5afd84d (patch)
tree767d3360dcd4077e048359e6b147a7fb6e656b17
parent0cb6b120e56be5ac654ef6bc0a9bf1d71905193f (diff)
downloadguice-0ee306fdf3eb11f5c00f7f576baffca5e5afd84d.tar.gz
Use unzip -p rather than -c.
In the case of a single ASCII file (like here), there's no difference except that our libziparchive-based unzip supported -p. Test: builds even with ziptool unzip Change-Id: Id1f00db70e43144c302df89319951d82f5d5ddbb
-rw-r--r--Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index c8b91678..d104f3d9 100644
--- a/Android.bp
+++ b/Android.bp
@@ -65,7 +65,7 @@ genrule {
name: "guice_munge_manifest",
out: ["guice_munge.manifest"],
srcs: ["lib/build/munge.jar"],
- cmd: "unzip -qc $(in) META-INF/MANIFEST.MF > $(out)",
+ cmd: "unzip -p -q $(in) META-INF/MANIFEST.MF > $(out)",
}
java_binary_host {