summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild6
-rwxr-xr-xinclude/lib.sh6
2 files changed, 6 insertions, 6 deletions
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"
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"