[Libreoffice-commits] core.git: solenv/bin

Michael Stahl Michael.Stahl at cib.de
Thu Jul 12 08:33:54 UTC 2018


 solenv/bin/modules/installer/filelists.pm |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit ffc08c6819a986086e9015ede3863c039d419490
Author: Michael Stahl <Michael.Stahl at cib.de>
Date:   Wed Jul 11 12:09:07 2018 +0200

    installer: exit on the other errors in resolve_filelist_flag too
    
    Nobody reads these error messages if the build succeeds.
    
    Change-Id: Ib1e52bf188d0da2bc35a0d2d2f79fff409e15977
    Reviewed-on: https://gerrit.libreoffice.org/57270
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <Michael.Stahl at cib.de>

diff --git a/solenv/bin/modules/installer/filelists.pm b/solenv/bin/modules/installer/filelists.pm
index 2422e7415a6b..1320a89e6ee2 100644
--- a/solenv/bin/modules/installer/filelists.pm
+++ b/solenv/bin/modules/installer/filelists.pm
@@ -53,6 +53,7 @@ sub resolve_filelist_flag
                     if ((index $path, $outdir) != 0)
                     {
                         installer::logger::print_error("file '$path' is not in '$outdir'");
+                        $error = 1;
                     }
                     if ($path =~ '\/\/')
                     {
@@ -68,6 +69,7 @@ sub resolve_filelist_flag
                         if (!-e $path)
                         {
                             installer::logger::print_error("file '$path' does not exist");
+                            $error = 1;
                         }
                     }
 


More information about the Libreoffice-commits mailing list