version-gen.sh: AIX doesn't have “echo -n”.
authorManuel Sanmartin (no email) <collectd@verplant.org>
Mon, 23 Nov 2009 20:51:29 +0000 (21:51 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Mon, 23 Nov 2009 21:23:17 +0000 (22:23 +0100)
version-gen.sh

index e0114d0..a36d6f5 100755 (executable)
@@ -10,4 +10,8 @@ fi
 
 VERSION="`echo \"$VERSION\" | sed -e 's/-/./g'`"
 
-echo -n "$VERSION"
+if test "x`uname -s`" = "xAIX" ; then 
+       echo "$VERSION\c"
+else 
+       echo -n "$VERSION"
+fi