Code

common: check_create_dir(): Support symlinks as well.
[collectd.git] / version-gen.sh
index f1a2fc29440c19879ba721919ad72ee20f925f90..3baa6f82dec5443dbcfc18b29cd0defceb6491ec 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-DEFAULT_VERSION="4.8.2.git"
+DEFAULT_VERSION="4.10.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