From 88fb185675702eb2ad562cb70ffbc856f031732a Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Thu, 17 Feb 2011 09:04:13 +0100 Subject: [PATCH] version-gen.sh: Do not use 'echo -n' on AIX and SunOS. These systems don't support that. --- version-gen.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/version-gen.sh b/version-gen.sh index b9d8c96..841c084 100755 --- a/version-gen.sh +++ b/version-gen.sh @@ -15,7 +15,11 @@ else 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 OLD_VERSION="" if test -e version; then -- 2.30.2