summaryrefslogtreecommitdiff
path: root/knockd-ipv6-git/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-04-12 11:14:13 +0200
committerErich Eckner <git@eckner.net>2021-04-12 11:14:13 +0200
commit0df7805764ce3183e73f0ab9a37098b4a34d1366 (patch)
treeef1b34b56a022dd15384900f45de00aa3a2d8290 /knockd-ipv6-git/PKGBUILD
parent8c3768b384fecf48aff8dfce27490a402ee6f0f2 (diff)
downloadarchlinuxewe-0df7805764ce3183e73f0ab9a37098b4a34d1366.tar.xz
repair pkgver() to give *currently*checked*out* version, not *newest*
Diffstat (limited to 'knockd-ipv6-git/PKGBUILD')
-rw-r--r--knockd-ipv6-git/PKGBUILD2
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 \