diff options
author | Dave Reisner <dreisner@archlinux.org> | 2017-04-13 09:45:58 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2017-04-13 10:00:34 -0400 |
commit | 19a269516f4e68cd1978cd939a4dfbf1bd2db86c (patch) | |
tree | 5f6bd81a606442c287a3a3f778072445ff501372 /asp.in | |
parent | 5d64421cd9538cce28b9f554e2116495df9be49f (diff) | |
download | asp32-19a269516f4e68cd1978cd939a4dfbf1bd2db86c.tar.xz |
Ensure we do proper versioning in the script and manpage
Fixup how we do versioning for git builds, and fix the missing package
version in the manpage and the static version in the script.
Diffstat (limited to 'asp.in')
-rw-r--r-- | asp.in | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,6 @@ #!/bin/bash +ASP_VERSION=@ASP_VERSION@ ARCH_GIT_REPOS=(packages community) OPT_ARCH=$(uname -m) @@ -14,7 +15,7 @@ m4_include(archweb.inc.sh) usage() { cat<<EOF -asp [OPTIONS...] {COMMAND} ... +asp $ASP_VERSION [OPTIONS...] {COMMAND} ... Manage build sources for Arch packages. @@ -69,7 +70,7 @@ __require_argc() { } version() { - printf 'asp v0\n' + printf 'asp %s\n' "$ASP_VERSION" } update_all() { |