mkosi: when the build fails, show its log output, and propagate error

This commit is contained in:
Lennart Poettering 2017-09-05 12:19:28 +02:00
parent 3dc5ca9787
commit 2ba6e7381b
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ export LC_CTYPE=C.UTF-8
[ -f "$BUILDDIR"/build.ninja ] || meson "$BUILDDIR"
ninja -C "$BUILDDIR" all
[ "$WITH_TESTS" = 0 ] || ninja -C "$BUILDDIR" test
[ "$WITH_TESTS" = 0 ] || ninja -C "$BUILDDIR" test || ( RET="$?" ; cat "$BUILDDIR"/meson-logs/testlog.txt ; exit "$RET" )
ninja -C "$BUILDDIR" install
mkdir -p "$DESTDIR"/etc