Remove usage of obsoleted XSI extensions wrt. the "test" command.
[collectd.git] / version-gen.sh
index 2a93ab7..f22be7d 100755 (executable)
@@ -10,7 +10,7 @@ fi
 
 VERSION="`echo \"$VERSION\" | sed -e 's/-/./g'`"
 
-if test "x`uname -s`" = "xAIX" ; then 
+if test "x`uname -s`" = "xAIX" || test "x`uname -s`" = "xSunOS" ; then
        echo "$VERSION\c"
 else 
        echo -n "$VERSION"