projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'collectd-5.1' into collectd-5.2
[collectd.git]
/
version-gen.sh
diff --git
a/version-gen.sh
b/version-gen.sh
index
a0e8709
..
e344541
100755
(executable)
--- a/
version-gen.sh
+++ b/
version-gen.sh
@@
-1,6
+1,6
@@
-#!/
bin/
sh
+#!/
usr/bin/env ba
sh
-DEFAULT_VERSION="
4.10.0
.git"
+DEFAULT_VERSION="
5.2.1
.git"
VERSION="`git describe 2> /dev/null | sed -e 's/^collectd-//'`"
VERSION="`git describe 2> /dev/null | sed -e 's/^collectd-//'`"
@@
-10,8
+10,4
@@
fi
VERSION="`echo \"$VERSION\" | sed -e 's/-/./g'`"
VERSION="`echo \"$VERSION\" | sed -e 's/-/./g'`"
-if test "x`uname -s`" = "xAIX" || test "x`uname -s`" = "xSunOS" ; then
- echo "$VERSION\c"
-else
- echo -n "$VERSION"
-fi
+echo -n "$VERSION"