summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
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"