diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2010-06-10 09:53:24 +0200 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2010-06-10 09:53:24 +0200 |
commit | 83eb86a1728567760d997d8bcccd2f6cb235bdde (patch) | |
tree | 1b6cad827cee0013dcbd7977ccb985e9afb24be3 /configure.ac | |
parent | 2c1f49ca7d6f4b27c4205ad602b09cd5139378ea (diff) | |
download | ccache-83eb86a1728567760d997d8bcccd2f6cb235bdde.tar.gz |
Improve formatting of git revision info
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 151cf0af..3fc3e79e 100644 --- a/configure.ac +++ b/configure.ac @@ -290,7 +290,7 @@ cat config.h >>config.h.tmp echo '#endif' >>config.h.tmp mv config.h.tmp config.h -version=`(git describe --dirty 2>/dev/null || echo vunknown) | cut -b 2-` +version=`(git describe --dirty 2>/dev/null || echo vunknown) | sed -e 's/v//' -e 's/-/+/' -e 's/-/_/g'` echo "const char CCACHE_VERSION@<:@@:>@ = \"$version\";" >version.c mkdir -p .deps |