[Libreoffice-commits] core.git: instsetoo_native/CustomTarget_install.mk

Jan-Marek Glogowski glogow at fbihome.de
Fri Oct 2 07:08:43 PDT 2015


 instsetoo_native/CustomTarget_install.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d526f5d739bbf923a6c882cb9a92a15f590a3388
Author: Jan-Marek Glogowski <glogow at fbihome.de>
Date:   Thu Oct 1 17:57:33 2015 +0200

    Ignore grep return code for MSI builds
    
    So "grep -v" returns != 0, if your input or output file is empty.
    which breaks the Jenkins build, because Jenkins runs scripts with
    -xe per default.
    
    The "strip comments" grep currently fails for the empty file
    instsetoo_native/inc_openoffice/windows/msi_templates/components.txt
    
    Change-Id: I53a477702dbcc3c00c4a23263c3b402cb936250a

diff --git a/instsetoo_native/CustomTarget_install.mk b/instsetoo_native/CustomTarget_install.mk
index a74a2177..0fb97da 100644
--- a/instsetoo_native/CustomTarget_install.mk
+++ b/instsetoo_native/CustomTarget_install.mk
@@ -65,7 +65,7 @@ define instsetoo_native_msitemplates
 TEMPLATE_DIR=$(dir $@)msi_templates \
 && rm -rf $${TEMPLATE_DIR} \
 && mkdir -p $${TEMPLATE_DIR}/Binary \
-&& for I in $(SRCDIR)/instsetoo_native/inc_$(1)/windows/msi_templates/*.* ; do $(GREP) -v '^#' "$$I" > $${TEMPLATE_DIR}/`basename $$I` ; done \
+&& for I in $(SRCDIR)/instsetoo_native/inc_$(1)/windows/msi_templates/*.* ; do $(GREP) -v '^#' "$$I" > $${TEMPLATE_DIR}/`basename $$I` || true ; done \
 && $(GNUCOPY) $(SRCDIR)/instsetoo_native/inc_common/windows/msi_templates/Binary/*.* $${TEMPLATE_DIR}/Binary
 endef
 else


More information about the Libreoffice-commits mailing list