summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChocobo12018-01-09 12:32:49 +0800
committerChocobo12018-01-09 12:32:49 +0800
commit84b463ebfe07a3d55124899d68821cf01de3c7f9 (patch)
treeebbccf005bd057722bbbb0c396707e6e69117a6a /PKGBUILD
parent18ed94eafc564d7222ad083156d3402d534e7145 (diff)
downloadaur-libssh-git.tar.gz
Tweak
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e011c446bb3..dc6c6f5f093 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,7 +25,7 @@ prepare() {
pkgver() {
cd "libssh"
- _tag=$(git tag -l --sort -v:refname | grep libssh -m1 | sed 's/libssh-//')
+ _tag=$(git tag -l --sort -v:refname | grep -m1 libssh | sed 's/libssh-//')
_rev=$(git rev-list --count libssh-$_tag..HEAD)
_hash=$(git rev-parse --short HEAD)
printf "%s.r%s.g%s" "$_tag" "$_rev" "$_hash"