From: Joel Rosdahl Date: Sun, 26 Sep 2010 20:46:28 +0000 (+0200) Subject: Minor tweak of version finding command X-Git-Tag: v3.1.1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b91097778f02c339f5124ff4604e54ea7ce02f07;p=thirdparty%2Fccache.git Minor tweak of version finding command --- diff --git a/dev.mk.in b/dev.mk.in index 1a7c00b75..70af79161 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 = \