build: delete mkversion() (just print relname)
Signed-off-by: Leah Rowe <leah@libreboot.org>20240612_branch
parent
a40a61292d
commit
39df62301d
10
build
10
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"
|
||||
|
|
Loading…
Reference in New Issue