Improve build to fail hard if error occurs

This commit is contained in:
isa 2024-07-03 14:00:33 -04:00
parent 038b25817b
commit 956661945e
2 changed files with 9 additions and 2 deletions

View File

@ -1,4 +1,7 @@
#!/bin/bash
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o xtrace
: ${REALMFS_BUILDER_BASE:="/usr/share/realmfs-builder"}
source ${REALMFS_BUILDER_BASE}/common.inc
@ -153,6 +156,7 @@ try_config() {
}
WORKDIR="$(pwd)/realmfs"
BUILDFILE=""
DO_TAR=0
DO_XZ=0

View File

@ -1,4 +1,7 @@
#!/bin/bash
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o xtrace
REALMFS_BUILDER_BASE="/usr/share/realmfs-builder"