fix: add flags to ensure that build aborts if there are errors

This commit is contained in:
Arcitec
2023-05-09 15:26:26 +02:00
committed by Eino Rauhala
parent cd5c6c33cb
commit 4b9fe0b05b
2 changed files with 11 additions and 0 deletions

View File

@@ -1,4 +1,8 @@
#!/bin/bash
# Tell build process to exit if there are any errors.
set -ouex pipefail
# run scripts
echo "-- Running scripts defined in recipe.yml --"
buildscripts=$(yq '.scripts[]' < /usr/etc/ublue-recipe.yml)