Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a21e1db3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "definitions.mk: Detect bad zip files."

parents f7162b39 e1af00ba
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2329,6 +2329,7 @@ endef
define add-jar-resources-to-package
  rm -rf $(3)
  mkdir -p $(3)
  zipinfo -1 $(2) > /dev/null
  unzip -qo $(2) -d $(3) $$(zipinfo -1 $(2) | grep -v -E "\.class$$")
  $(JAR) uf $(1) $(call jar-args-sorted-files-in-directory,$(3))
endef