Swamp the log with debug

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appstream-glib?expand=0&rev=51
This commit is contained in:
Dominique Leuenberger 2017-09-15 15:00:09 +00:00 committed by Git OBS Bridge
parent a50541894b
commit c43d0c2cf4

View File

@ -17,12 +17,13 @@ TMPDIR=$(mktemp -d)
--origin=appdata \
--basename=appdata \
--packages-dir=${SRC} \
--output-dir=${DEST}
--output-dir=${DEST} 2>&1 | tee $TMPDIR/as-builder.log
RET=$?
if [ $RET -ne 0 ]; then
# The appstream-builder failed, exit with an error code, so prod builder knows about it
cat $TMPDIR/as-builder.log
exit $RET
fi