diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2010-09-26 22:46:28 +0200 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2010-09-26 22:46:28 +0200 |
commit | b91097778f02c339f5124ff4604e54ea7ce02f07 (patch) | |
tree | 475ebacac53ae277c1e9bb07d4f548488af14051 /dev.mk.in | |
parent | b74cb2884be5e7e7f92c339fbde935c4e1c436eb (diff) | |
download | ccache-b91097778f02c339f5124ff4604e54ea7ce02f07.tar.gz |
Minor tweak of version finding command
Diffstat (limited to 'dev.mk.in')
-rw-r--r-- | dev.mk.in | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 = \ |