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