Check-in Number:
|
3652 | |
Date: |
2003-Oct-28 10:31:49 (local)
2003-Oct-28 09:31:49 (UTC) |
User: | rse |
Branch: | |
Comment: |
correctly support Solaris 10 |
Tickets: |
|
Inspections: |
|
Files: |
|
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
|
|