diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-01-26 09:59:15 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-01-26 09:59:15 +0100 |
commit | 8a727f71fa3d63b91938f29376f726a904fffa73 (patch) | |
tree | c17ac4ee1299d5df184b4c7179d23fadd69cd429 /scripts | |
parent | b8dca95039982d76b647c97f50a2270d25f71fd0 (diff) | |
download | vyos-build-8a727f71fa3d63b91938f29376f726a904fffa73.tar.gz vyos-build-8a727f71fa3d63b91938f29376f726a904fffa73.zip |
Fix --verbose option when building submodules
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build-submodules | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/build-submodules b/scripts/build-submodules index 987a055f..31bf55a3 100755 --- a/scripts/build-submodules +++ b/scripts/build-submodules @@ -128,7 +128,7 @@ initialize_packages() { ) >>$PKGDIR/init-packages.buildlog 2>&1 if [ $? -ne 0 ]; then status_fail - if [ $VERBOSE ]; then + if [ $VERBOSE -eq 1 ]; then cat $PKGDIR/init-packages.buildlog fi error_msg "Failed to update all package, look in init-packages.buildlog to examine the fault\n" @@ -278,7 +278,7 @@ build_kernel() { ) >>$PKGDIR/vyos-kernel.buildlog 2>&1 if [ $? -ne 0 ]; then status_fail - if [ $VERBOSE ]; then + if [ $VERBOSE -eq 1 ]; then cat $PKGDIR/vyos-kernel.buildlog fi error_msg "Failed to build package vyos-kernel, look in vyos-kernel.buildlog to examine the fault\n" @@ -337,7 +337,7 @@ build_wireguard() { ) >>$PKGDIR/vyos-wireguard.buildlog 2>&1 if [ $? -ne 0 ]; then status_fail - if [ $VERBOSE ]; then + if [ $VERBOSE -eq 1 ]; then cat $PKGDIR/vyos-wireguard.buildlog fi error_msg "Failed to build package vyos-wireguard, look in vyos-wireguard.buildlog to examine the fault\n" @@ -388,7 +388,7 @@ build_accel-ppp() { ) >>$PKGDIR/vyos-accel-ppp.buildlog 2>&1 if [ $? -ne 0 ]; then status_fail - if [ $VERBOSE ]; then + if [ $VERBOSE -eq 1 ]; then cat $PKGDIR/vyos-accel-ppp.buildlog fi error_msg "Failed to build package vyos-accel-ppp, look in vyos-accel-ppp.buildlog to examine the fault\n" |