summaryrefslogtreecommitdiff
path: root/cssh
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 /cssh
parent8c3768b384fecf48aff8dfce27490a402ee6f0f2 (diff)
downloadarchlinuxewe-0df7805764ce3183e73f0ab9a37098b4a34d1366.tar.xz
repair pkgver() to give *currently*checked*out* version, not *newest*
Diffstat (limited to 'cssh')
-rw-r--r--cssh/PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/cssh/PKGBUILD b/cssh/PKGBUILD
index ae3fb0d30..881528e41 100644
--- a/cssh/PKGBUILD
+++ b/cssh/PKGBUILD
@@ -21,7 +21,7 @@ sha512sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
_rev=$(
- git rev-parse --short master
+ git rev-parse --short "${_commit}"
)
_rev_count=$(
git rev-list "${_rev}" --count