Code

Collectd.pm: Added missing entry to the plugin (type id, type name) map.
[collectd.git] / version-gen.sh
index b8a8d44b2fc3c11afc7c460d5dc537beff87ff13..5ae4f2b5ad2285aae14006f186af65d979aee40f 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-DEFAULT_VERSION="4.6.5.git"
+DEFAULT_VERSION="4.9.4.git"
 
 VERSION="`git describe 2> /dev/null | sed -e 's/^collectd-//'`"
 
@@ -10,4 +10,8 @@ fi
 
 VERSION="`echo \"$VERSION\" | sed -e 's/-/./g'`"
 
-echo -n "$VERSION"
+if test "x`uname -s`" = "xAIX" || test "x`uname -s`" = "xSunOS" ; then
+       echo "$VERSION\c"
+else 
+       echo -n "$VERSION"
+fi