tdf#161930 Copy only once mimetype
mimetype must not be zipped, just stored. mimetype was correctly stored with the first zip command, but mimetype was also present in the files list on the second zip command. This patch remove mimetype from the files list of the second zip command. Change-Id: Ie66f06103bbad2700eee4986df878b9ebd4c0a09 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175930 Tested-by: Jenkins Reviewed-by: Laurent Balland <laurent.balland@mailo.fr>
This commit is contained in:
parent
b44339c215
commit
190ccb6539
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ $(call gb_Trace_StartRange,$(subst $(gb_CustomTarget_workdir)/extras/source/,,$@
|
|||
cd $(dir $<) && \
|
||||
$(call gb_Helper_wsl_path,\
|
||||
$(WSL) zip -q0X --filesync --must-match $@ mimetype && \
|
||||
$(WSL) zip -qrX --must-match $@ $(subst $(dir $<),,$^))
|
||||
$(WSL) zip -qrX --must-match $@ $(subst $(dir $<),,$^)) -x mimetype
|
||||
$(call gb_Trace_EndRange,$(subst $(gb_CustomTarget_workdir)/extras/source/,,$@),ZIP)
|
||||
endef
|
||||
|
||||
|
|
Loading…
Reference in a new issue