[libvirt PATCH 15/20] ci: build.sh: Make the build script fail ASAP with 'set -e'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is the default setting in GitLab container environments and it
makes sense to stop executing the script with the first error
encountered.

Signed-off-by: Erik Skultety <eskultet@xxxxxxxxxx>
---
 ci/build.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ci/build.sh b/ci/build.sh
index 4d7ef810f2..b6596300be 100644
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -69,6 +69,7 @@ run_website_build() {
 
 main() {
     ACTIONS=""
+    set -e
 
     while [ "$#" -ne 0 ]
     do
-- 
2.39.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux