summaryrefslogtreecommitdiff
path: root/dev.mk.in
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2010-09-26 22:46:28 +0200
committerJoel Rosdahl <joel@rosdahl.net>2010-09-26 22:46:28 +0200
commitb91097778f02c339f5124ff4604e54ea7ce02f07 (patch)
tree475ebacac53ae277c1e9bb07d4f548488af14051 /dev.mk.in
parentb74cb2884be5e7e7f92c339fbde935c4e1c436eb (diff)
downloadccache-b91097778f02c339f5124ff4604e54ea7ce02f07.tar.gz
Minor tweak of version finding command
Diffstat (limited to 'dev.mk.in')
-rw-r--r--dev.mk.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev.mk.in b/dev.mk.in
index 1a7c00b7..70af7916 100644
--- a/dev.mk.in
+++ b/dev.mk.in
@@ -8,8 +8,8 @@ XSLTPROC = xsltproc
MANPAGE_XSL = /etc/asciidoc/docbook-xsl/manpage.xsl
version := \
- $(shell (git describe --dirty 2>/dev/null || git describe 2>/dev/null || echo vunknown) \
- | sed -e 's/v//' -e 's/-/+/' -e 's/-/_/g')
+ $(shell (git describe --dirty || git describe || echo vunknown) \
+ 2>/dev/null | sed -e 's/v//' -e 's/-/+/' -e 's/-/_/g')
dist_dir = ccache-$(version)
dist_archives = \