summaryrefslogtreecommitdiff
path: root/dbmodel/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'dbmodel/PKGBUILD')
-rwxr-xr-xdbmodel/PKGBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/dbmodel/PKGBUILD b/dbmodel/PKGBUILD
index 79ee6f30d..2579a16e9 100755
--- a/dbmodel/PKGBUILD
+++ b/dbmodel/PKGBUILD
@@ -31,9 +31,8 @@ sha512sums=('SKIP')
pkgver(){
cd "${pkgname}"
- git fetch --all >/dev/null 2>&1
- _commit=$(
- git rev-parse master
+ _rev=$(
+ git rev-parse --short "${_commit}"
)
printf '%s.r%s.%s\n' \
"$(