projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
snmp plugin: plug leak in error path.
[collectd.git]
/
version-gen.sh
diff --git
a/version-gen.sh
b/version-gen.sh
index
d270866
..
3a7fac8
100755
(executable)
--- a/
version-gen.sh
+++ b/
version-gen.sh
@@
-1,6
+1,6
@@
#!/bin/sh
-DEFAULT_VERSION="
4.7.5
.git"
+DEFAULT_VERSION="
5.4.2
.git"
VERSION="`git describe 2> /dev/null | sed -e 's/^collectd-//'`"
@@
-10,4
+10,4
@@
fi
VERSION="`echo \"$VERSION\" | sed -e 's/-/./g'`"
-
echo -n
"$VERSION"
+
printf "%s"
"$VERSION"