diff options
author | Leah Rowe <leah@libreboot.org> | 2024-06-27 14:32:20 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-06-27 14:32:20 +0100 |
commit | 9aec992ff20955b2e1282338e041d6ed452e559a (patch) | |
tree | f02873f20be6054e06b357f960e0ea5536d25f5c /build | |
parent | 6fc7cd3c17f2284768e4a0416ecaa67f71da8052 (diff) |
lib.sh: move git_err() to build
it's only used in the main build script, so move it there.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'build')
-rwxr-xr-x | build | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -54,6 +54,12 @@ git_init() git tag -a "$version" -m "$projectname $version" || return 1 } +git_err() +{ + printf "You need to set git name/email, like so:\n%s\n\n" "$1" 1>&2 + $err "Git name/email not configured" +} + mkrelease() { export XBMK_RELEASE="y" |