summaryrefslogtreecommitdiff
path: root/include/lib.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-27 14:32:20 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-27 14:32:20 +0100
commit9aec992ff20955b2e1282338e041d6ed452e559a (patch)
treef02873f20be6054e06b357f960e0ea5536d25f5c /include/lib.sh
parent6fc7cd3c17f2284768e4a0416ecaa67f71da8052 (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 'include/lib.sh')
-rwxr-xr-xinclude/lib.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/lib.sh b/include/lib.sh
index a1b6aa0d..cddcede9 100755
--- a/include/lib.sh
+++ b/include/lib.sh
@@ -136,12 +136,6 @@ remkdir()
mkdir -p "$1" || $err "remkdir: !mkdir -p \"$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"
-}
-
mkrom_tarball()
{
printf "%s\n" "$version" > "$1/version" || $err "$1 !version"