diff options
author | Erich Eckner <git@eckner.net> | 2018-11-01 13:28:54 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-11-01 13:28:54 +0100 |
commit | 6a0f4e0b1765d6817aba8a14b8a5c2779c5bb7be (patch) | |
tree | 35d299cc65655ad35ec91cd0e4e8314bdefb6ad1 | |
parent | a29ccc6de3bfbb9377fb8ceac84adaab798e2e12 (diff) | |
download | archlinuxewe-6a0f4e0b1765d6817aba8a14b8a5c2779c5bb7be.tar.xz |
openttd-git: fix pkgver(); always check out the $_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 14b2f522d..1737882e4 100644 --- a/openttd-git/PKGBUILD +++ b/openttd-git/PKGBUILD @@ -32,7 +32,7 @@ replaces=() backup=() options=() source=( - "${pkgname}::git://github.com/OpenTTD/OpenTTD.git" #commit=${_commit}" + "${pkgname}::git://github.com/OpenTTD/OpenTTD.git#commit=${_commit}" "everything.patch" "clipboard.grf" ) @@ -46,7 +46,7 @@ pkgver() { $(git -C "${srcdir}/${pkgname}" rev-list --count master ^f84ad5f7c) + 28004 ))" \ "$( - git -C "${srcdir}/${pkgname}" rev-parse --short master + git -C "${srcdir}/${pkgname}" rev-parse --short=9 master )" } |