summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-05-15 02:49:30 +0100
committerLeah Rowe <leah@libreboot.org>2024-05-15 02:49:30 +0100
commit39df62301d90257f384aaf931d012e4495aaf1c2 (patch)
treea65ba66e29161320f7ddcc0e53d7a90b74261420 /build
parenta40a61292df7dba44bab271c50776643c8f19b82 (diff)
build: delete mkversion() (just print relname)
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'build')
-rwxr-xr-xbuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/build b/build
index dbc6494f..aefaadad 100755
--- a/build
+++ b/build
@@ -44,7 +44,7 @@ initcmd()
case "${1}" in
help) usage ${0} ;;
list) items "script" ;;
- version) mkversion ;;
+ version) printf "%s\n" "$relname" ;;
release) shift 1; mkrelease $@ ;;
inject) shift 1; vendor_inject $@ ;;
download) shift 1; vendor_download $@ ;;
@@ -101,7 +101,7 @@ usage()
{
progname=${0}
cat <<- EOF
- $(mkversion)
+ $relname
USAGE: ${progname} <OPTION>
@@ -206,12 +206,6 @@ fetch_trees()
x_ rm -Rf tmp .git
}
-mkversion()
-{
- printf "revision: %s %s\n" "$projectname" "$version"
- printf "revision date: %s\n" "$(date -Rud @${versiondate})"
-}
-
lbmk_exit()
{
tmp_cleanup || err_ "lbmk_exit: can't rm tmpdir upon exit $1: $tmpdir"