diff options
author | Erich Eckner <git@eckner.net> | 2021-04-12 11:14:13 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-04-12 11:14:13 +0200 |
commit | 0df7805764ce3183e73f0ab9a37098b4a34d1366 (patch) | |
tree | ef1b34b56a022dd15384900f45de00aa3a2d8290 /knockd-ipv6-git | |
parent | 8c3768b384fecf48aff8dfce27490a402ee6f0f2 (diff) | |
download | archlinuxewe-0df7805764ce3183e73f0ab9a37098b4a34d1366.tar.xz |
repair pkgver() to give *currently*checked*out* version, not *newest*
Diffstat (limited to 'knockd-ipv6-git')
-rw-r--r-- | knockd-ipv6-git/PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/knockd-ipv6-git/PKGBUILD b/knockd-ipv6-git/PKGBUILD index 65b4ed437..0add7bc1f 100644 --- a/knockd-ipv6-git/PKGBUILD +++ b/knockd-ipv6-git/PKGBUILD @@ -31,7 +31,7 @@ sha512sums=('SKIP' pkgver() { cd "${srcdir}/knock" _rev=$( - git rev-parse --short master + git rev-parse --short "${_commit}" ) _pkgver=$( git archive "${_rev}" -- src/knockd.c \ |