summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/build-submodules3
1 files changed, 3 insertions, 0 deletions
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