diff --git a/version-gen.sh b/version-gen.sh
index 57300717c1ca9597259683368b458f8e3be92d2d..841c084617ef273f32826cc3fc534097d1596cbe 100755 (executable)
--- a/version-gen.sh
+++ b/version-gen.sh
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
VERSION_MINOR=$( echo $VERSION | cut -d'.' -f2 )
VERSION_PATCH=$( echo $VERSION | cut -d'.' -f3 )
VERSION_EXTRA="\"$( echo $VERSION | cut -d'.' -f4- )\""
+ test -z "$VERSION_EXTRA" || VERSION_EXTRA=".$VERSION_EXTRA"
(
echo "VERSION=\"$VERSION\""
echo "VERSION_MAJOR=$VERSION_MAJOR"