diff options
author | Leah Rowe <leah@libreboot.org> | 2024-05-15 02:49:30 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-05-15 02:49:30 +0100 |
commit | 39df62301d90257f384aaf931d012e4495aaf1c2 (patch) | |
tree | a65ba66e29161320f7ddcc0e53d7a90b74261420 | |
parent | a40a61292df7dba44bab271c50776643c8f19b82 (diff) |
build: delete mkversion() (just print relname)
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-x | build | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -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" |