ci: Use set -e in frontend compiler wrapper scripts.
authorMichel Dänzer <mdaenzer@redhat.com>
Wed, 12 Apr 2023 09:26:07 +0000 (11:26 +0200)
committerMarge Bot <emma+marge@anholt.net>
Sat, 15 Apr 2023 01:55:12 +0000 (01:55 +0000)
I doubt the shebang line in the backend script has any effect now,
since the frontend scripts just source it directly.

v2:
* Use "set -e" instead of adding -e to shebang (Eric Engestrom)

v3:
* Apply to the clang wrapper scripts as well (Eric Engestrom)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22438>

.gitlab-ci/build/compiler-wrapper-clang++.sh
.gitlab-ci/build/compiler-wrapper-clang.sh
.gitlab-ci/build/compiler-wrapper-g++.sh
.gitlab-ci/build/compiler-wrapper-gcc.sh

index 69c28bf..cf3cd3f 100755 (executable)
@@ -1,3 +1,6 @@
 #!/bin/sh
+
+set -e
+
 _COMPILER=clang++
 . compiler-wrapper.sh
index a4e119b..99cf0cb 100755 (executable)
@@ -1,3 +1,6 @@
 #!/bin/sh
+
+set -e
+
 _COMPILER=clang
 . compiler-wrapper.sh
index a0bfadb..d045162 100755 (executable)
@@ -1,3 +1,6 @@
 #!/bin/sh
+
+set -e
+
 _COMPILER=g++
 . compiler-wrapper.sh
index e9c0d15..ef0f8b8 100755 (executable)
@@ -1,3 +1,6 @@
 #!/bin/sh
+
+set -e
+
 _COMPILER=gcc
 . compiler-wrapper.sh