From 9210522425e2cd6ed5d9f83ad594e5588671863e Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 27 Jan 2019 13:06:16 +0100 Subject: build-submodules: report back package error when build with --verbose --- scripts/build-submodules | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/build-submodules') diff --git a/scripts/build-submodules b/scripts/build-submodules index b3ea2c1a..6fd945d1 100755 --- a/scripts/build-submodules +++ b/scripts/build-submodules @@ -104,6 +104,9 @@ build_package() { ) >>$PKGDIR/$PKG.buildlog 2>&1 if [ $? -ne 0 ]; then status_fail + if [ $VERBOSE -eq 1 ]; then + cat $PKGDIR/$PKG.buildlog + fi error_msg "Failed to build package $PKG, look in $PKG.buildlog to examine the fault\n" return 2 fi -- cgit v1.2.3