]> granicus.if.org Git - graphviz/commitdiff
Ensure immediate exit on failure in build.sh
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 7 Jun 2020 14:03:23 +0000 (16:03 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sat, 13 Jun 2020 06:16:54 +0000 (08:16 +0200)
ci/build.sh

index 695ce4f9f0320dacfa68713c9ebcd25640adaf3d..ebd61f1bd5bf0308e3807ecff2deb1a32e08e82a 100755 (executable)
@@ -1,6 +1,8 @@
 #!/bin/bash
 
 set -x
+set -e
+set -o pipefail
 
 if test -f /etc/os-release; then
     cat /etc/os-release