summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames An2015-01-17 23:00:24 -0500
committerJames An2015-01-17 23:00:24 -0500
commit834ceb08c929bd49f802c74113341fefd3eab52b (patch)
treeb61b97ffa0f028359ca395c9170087212dd102ef
parent2762c90515cecfffdb6497fdf11bdeec753d577d (diff)
downloadaur-834ceb08c929bd49f802c74113341fefd3eab52b.tar.gz
Fixed output of pkgver() function autorandr-git by suppressing its stderr output.
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 90c6ec8bd1c..822ce0f05b6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -37,7 +37,7 @@ pkgver() {
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
}
package() {