From 9aec992ff20955b2e1282338e041d6ed452e559a Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 27 Jun 2024 14:32:20 +0100 Subject: 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 --- build | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build') diff --git a/build b/build index 383e83cb..080c1e16 100755 --- a/build +++ b/build @@ -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" -- cgit v1.2.1