diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-07-11 12:09:07 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-07-12 10:33:27 +0200 |
commit | ffc08c6819a986086e9015ede3863c039d419490 (patch) | |
tree | f6b038c29df85f38c423a9e65c6299c3e6be40df /solenv | |
parent | 592eb9217a52632e4271db3628c5aafb0cefbee8 (diff) |
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@cib.de>
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/bin/modules/installer/filelists.pm | 2 |
1 files changed, 2 insertions, 0 deletions
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; } } |