diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ # Contributor: judd <jvinet@zeroflux.org> pkgname=openssh-git -pkgver=7.4.P1.r0.g4a354fc2 +pkgver=7.9.P1.r15.g1801cd11 pkgrel=1 pkgdesc='Free version of the SSH connectivity tools' url='http://www.openssh.org/portable.html' @@ -41,11 +41,11 @@ pkgver() { printf '%s.r%s.g%s' \ "$(sed -e "s/^${pkgname%%-git}//" -e 's/^[-_/a-zA-Z]\+//' -e 's/[-_+]/./g' <<< ${GITTAG})" \ "$(git rev-list --count ${GITTAG}..)" \ - "$(git log -1 --format='%h')" + "$(git rev-parse --short HEAD)" else printf '0.r%s.g%s' \ "$(git rev-list --count master)" \ - "$(git log -1 --format='%h')" + "$(git rev-parse --short HEAD)" fi } |