check: make any failure fatal

Previously, only the last error code was returned.
Using `set -e` makes the script quit on any unhandled error.

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
This commit is contained in:
Eric Engestrom 2017-02-26 00:17:52 +00:00
parent a1e5e55989
commit cd35a119ad
2 changed files with 2 additions and 0 deletions

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -e
entrypoints=$(grep EGL_ENTRYPOINT "$srcdir"/main/eglentrypoint.h)
sorted=$(sort <<< "$entrypoints")

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -e
# extract enum definition
dispatch_list=$(sed '/__GLXdispatchIndex/,/__GLXdispatchIndex/!d' \