diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-01-27 13:06:16 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-01-27 16:01:09 +0100 |
commit | 9210522425e2cd6ed5d9f83ad594e5588671863e (patch) | |
tree | 65d3574f8aa1577983f2f40d92668a3712c5e0a0 /scripts | |
parent | b10711d42e65c1ae604891d33cfd83628ca7aa64 (diff) | |
download | vyos-build-9210522425e2cd6ed5d9f83ad594e5588671863e.tar.gz vyos-build-9210522425e2cd6ed5d9f83ad594e5588671863e.zip |
build-submodules: report back package error when build with --verbose
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build-submodules | 3 |
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 |