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>audit2
parent
43238fa0c5
commit
f3baebe7e1
6
build
6
build
|
@ -49,6 +49,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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue