diff options
author | Erich Eckner <git@eckner.net> | 2018-11-01 13:34:32 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-11-01 13:34:32 +0100 |
commit | 8126fe88ff1434fb6c784dcee0b1f68bef1be78b (patch) | |
tree | 4fa4a34f44650e8a60c6c5b03b3f5f2df340e4d3 | |
parent | 6a0f4e0b1765d6817aba8a14b8a5c2779c5bb7be (diff) | |
download | archlinuxewe.git.save-8126fe88ff1434fb6c784dcee0b1f68bef1be78b.tar.xz |
openttd-git: do not give version of "master", but of "${_commit}"
-rw-r--r-- | openttd-git/PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openttd-git/PKGBUILD b/openttd-git/PKGBUILD index 1737882e..c6c695e1 100644 --- a/openttd-git/PKGBUILD +++ b/openttd-git/PKGBUILD @@ -43,10 +43,10 @@ sha512sums=('SKIP' pkgver() { printf '%s.%s\n' \ "$(( - $(git -C "${srcdir}/${pkgname}" rev-list --count master ^f84ad5f7c) + 28004 + $(git -C "${srcdir}/${pkgname}" rev-list --count "${_commit}" ^f84ad5f7c) + 28004 ))" \ "$( - git -C "${srcdir}/${pkgname}" rev-parse --short=9 master + git -C "${srcdir}/${pkgname}" rev-parse --short=9 "${_commit}" )" } |