build: delete mkversion() (just print relname)
Signed-off-by: Leah Rowe <leah@libreboot.org>audit2-merge1
parent
ae44676727
commit
363ec7512c
10
build
10
build
|
@ -42,7 +42,7 @@ initcmd()
|
|||
case "${1}" in
|
||||
help) usage ${0} ;;
|
||||
list) items "script" ;;
|
||||
version) mkversion ;;
|
||||
version) printf "%s\n" "$relname" ;;
|
||||
release) shift 1; mkrelease $@ ;;
|
||||
*)
|
||||
script_path="script/${1}"
|
||||
|
@ -96,7 +96,7 @@ usage()
|
|||
{
|
||||
progname=${0}
|
||||
cat <<- EOF
|
||||
$(mkversion)
|
||||
$relname
|
||||
|
||||
USAGE: ${progname} <OPTION>
|
||||
|
||||
|
@ -199,12 +199,6 @@ fetch_trees()
|
|||
x_ rm -Rf tmp .git
|
||||
}
|
||||
|
||||
mkversion()
|
||||
{
|
||||
printf "revision: %s %s\n" "$projectname" "$version"
|
||||
printf "revision date: %s\n" "$(date -Rud @${versiondate})"
|
||||
}
|
||||
|
||||
cbmk_exit()
|
||||
{
|
||||
tmp_cleanup || err_ "cbmk_exit: can't rm tmpdir upon exit $1: $tmpdir"
|
||||
|
|
Loading…
Reference in New Issue