summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 2 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f8aa6463128..a4e5e4bc82a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Sat Jan 16 11:56:13 UTC 2016
+# Sat Jan 16 12:38:07 UTC 2016
pkgbase = drush-git-alternative
pkgdesc = Drush is a command line shell and Unix scripting interface for Drupal
pkgver = 8.0.2.r14.g30f88b2
diff --git a/PKGBUILD b/PKGBUILD
index 1d39e6ba16b..a8a78943124 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,11 +19,7 @@ sha512sums=('SKIP'
pkgver() {
cd "${_pkgname}"
- (
- set -o pipefail
- git describe --long --tag | sed -r 's/([^-]*-g)/r\1/;s/-/./g' ||
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
- ) 2>/dev/null
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {