summaryrefslogtreecommitdiff
path: root/lbmk
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-06-20 01:06:21 +0100
committerLeah Rowe <leah@libreboot.org>2023-06-20 01:07:06 +0100
commit9510d749e189b0ab77f8ce7ab037f0b6fa69ec47 (patch)
tree45f8262fb658293450c50b2285de47c9eed17b53 /lbmk
parent917f699cc7c414df3215009c768d888d7f0a2114 (diff)
lbmk: run ./.gitcheck clean on error
a glaring oversight on my part Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'lbmk')
-rwxr-xr-xlbmk3
1 files changed, 2 insertions, 1 deletions
diff --git a/lbmk b/lbmk
index c51a0b08..e0b950e3 100755
--- a/lbmk
+++ b/lbmk
@@ -80,7 +80,7 @@ main()
printf "Invalid option for '%s'." ${mode}
die "Run: ${0} ${mode} list'."
fi
- "${buildpath}/${mode}/${option}" $@ || exit 1
+ "${buildpath}/${mode}/${option}" $@ || die "lbmk error"
esac
./.gitcheck clean
@@ -121,6 +121,7 @@ listmodes()
die()
{
+ ./.gitcheck clean
printf "Error: %s\n" "${@}" 1>&2
exit 1
}