From 2b59c5d528e6e3ae6dc3d26768493f5ec68c93d269fcbf77f6ba885deaba3a52 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 15 Sep 2017 13:12:38 +0000 Subject: [PATCH] Accepting request 526064 from GNOME:Factory 1 OBS-URL: https://build.opensuse.org/request/show/526064 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=49 --- appstream-glib.changes | 6 ++++++ openSUSE-appstream-process | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/appstream-glib.changes b/appstream-glib.changes index b195225..31670e0 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 14 11:35:44 UTC 2017 - dimstar@opensuse.org + +- Update openSUSE-appstream-process: exit early if as-builder does + not end with exit 0. + ------------------------------------------------------------------- Tue Sep 5 20:26:36 UTC 2017 - jengelh@inai.de diff --git a/openSUSE-appstream-process b/openSUSE-appstream-process index c642e9b..7fe1b84 100644 --- a/openSUSE-appstream-process +++ b/openSUSE-appstream-process @@ -19,6 +19,11 @@ TMPDIR=$(mktemp -d) --packages-dir=${SRC} \ --output-dir=${DEST} +if [ $? -ne 0 ]; then + # The appstream-builder failed, exit with an error code, so prod builder knows about it + exit 1 +fi + # clean up TMPDIR again rm -rf ${TMPDIR}