diff options
author | Leah Rowe <leah@libreboot.org> | 2024-04-28 20:33:38 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-04-28 20:33:38 +0100 |
commit | 91927760db296596af3946327319625c17c1afa5 (patch) | |
tree | 5393fc64d758a5c4d4adf6125d58e44be405de4e /include/err.sh | |
parent | 230f68fd8f9c4178051635f52df9ccf9700cd30d (diff) |
build/roms: simplified status handling
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/err.sh')
-rwxr-xr-x | include/err.sh | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/include/err.sh b/include/err.sh index 0b1c3e70..a94275f3 100755 --- a/include/err.sh +++ b/include/err.sh @@ -5,7 +5,7 @@ export LC_COLLATE=C export LC_ALL=C version=""; versiondate=""; projectname=""; _nogit="" -err="err_"; tmpdir=""; release_type=""; lbmk_status="" +err="err_"; tmpdir=""; lbmk_status="" # if "y": a coreboot target won't be built if target.cfg says release="n" # (this is used to exclude certain build targets from releases) @@ -15,17 +15,6 @@ set | grep LBMK_RELEASE 1>/dev/null 2>/dev/null || lbmk_release="n" || : [ "$lbmk_release" = "n" ] || [ "$lbmk_release" = "y" ] || lbmk_release="n" export LBMK_RELEASE="$lbmk_release" -# valid values: -# empty / not set -# value: stable -# value: unstable -# e.g. export LBMK_VERSION_TYPE=stable -set | grep LBMK_VERSION_TYPE 1>/dev/null 2>/dev/null && \ - release_type="$LBMK_VERSION_TYPE" -[ -z "$release_type" ] || [ "$release_type" = "stable" ] || \ - [ "$release_type" = "unstable" ] || release_type="" -export LBMK_VERSION_TYPE="$release_type" - # if set to n via export, status checks will be skipped during # all builds, and all targets will be built regardless of status. # this replicates the old behaviour of lbmk, prior to the checks. |