ossp-pkg/platform/platform.sh 1.14 -> 1.15
--- platform.sh 2003/10/26 11:31:12 1.14
+++ platform.sh 2003/10/28 09:31:49 1.15
@@ -458,7 +458,7 @@
ST="[Sun ]SunOS ${UNAME_RELEASE}"
v=`echo "${UNAME_RELEASE}" |\
sed -e 's;^4\.;1.;' \
- -e 's;^5\.\([0-6]\).*;2.\1;' \
+ -e 's;^5\.\([0-6]\)[^0-9]*$;2.\1;' \
-e 's;^5\.\([0-9][0-9]*\).*;\1;'`
SP="[Sun ]Solaris $v"
case "${UNAME_RELEASE}" in
|
|