From: Manuel Sanmartin (no email) Date: Mon, 23 Nov 2009 20:51:29 +0000 (+0100) Subject: version-gen.sh: AIX doesn't have “echo -n”. X-Git-Tag: collectd-4.9.0~27^2~13 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=f41bbe22fcfc3e266f869943a5aaec1b03a346e6;p=collectd.git version-gen.sh: AIX doesn't have “echo -n”. --- diff --git a/version-gen.sh b/version-gen.sh index e0114d04..a36d6f5e 100755 --- a/version-gen.sh +++ b/version-gen.sh @@ -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