summaryrefslogtreecommitdiff
path: root/openttd-git/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'openttd-git/PKGBUILD')
-rw-r--r--openttd-git/PKGBUILD4
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
)"
}