[Libreoffice-commits] core.git: Branch 'aoo/trunk' - odk/pack

Damjan Jovanovic damjan at apache.org
Sun Oct 25 20:08:17 UTC 2015


 odk/pack/gendocu/makefile.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 493bb354291470ce9ef88ad039023fe1453e3fbc
Author: Damjan Jovanovic <damjan at apache.org>
Date:   Sun Oct 25 18:28:46 2015 +0000

    Passing both -u and -o to unzip is ambiguous, as -u only overwrites files that are older
    
    while -o always overwrites them. What's worse, on FreeBSD using -u and -o together
    is an error that breaks the build. Tests show Info-ZIP's unzip treats -u and -o together
    as just -u, so let's call unzip with just -u.

diff --git a/odk/pack/gendocu/makefile.mk b/odk/pack/gendocu/makefile.mk
index a05c00f..d5c4e39 100644
--- a/odk/pack/gendocu/makefile.mk
+++ b/odk/pack/gendocu/makefile.mk
@@ -100,7 +100,7 @@ $(CPP_DOCU_INDEX_FILE) : $(CPP_DOCU_CLEANUP_FLAG)
 $(JAVA_SRC_FILES) : $(SOLARCOMMONBINDIR)$/$$(@:f)
     -$(MKDIRHIER) $(@:d)        
     $(MY_COPY) $< $@
-    cd $(JAVA_SRC_DIR) && unzip -quo $(@:f)
+    cd $(JAVA_SRC_DIR) && unzip -qu $(@:f)
 
 #$(JAVA_SRC_DIR)$/com$/sun$/star$/beans$/%.java : $(PRJ)$/source$/bean$/com$/sun$/star$/beans$/%.java 
 #	-$(MKDIRHIER) $(@:d)        


More information about the Libreoffice-commits mailing list