ossp-pkg/platform/platform.sh 1.4 -> 1.5
--- platform.sh 2003/09/08 19:13:00 1.4
+++ platform.sh 2003/09/09 09:05:31 1.5
@@ -358,7 +358,7 @@
sed -e 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*/\1/'`
v_libc=`(strings /lib/libc.so.* | grep '^GLIBC_' | sed -e 's/^GLIBC_//' |\
sort -n | tail -1 | sed -e 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*/\1/') 2>&1`
- ST="GNU/Linux ${v_libc}/${v_kern}"
+ ST="GNU/<Linux >${v_libc}/<${v_kern}>"
if [ -f /etc/lsb-release ]; then
eval `( . /etc/lsb-release
echo "SC=\"LSB${LSB_VERSION}\""
@@ -477,7 +477,7 @@
val_V=`echo ":$val" | \
sed -e 's/^://' \
-e 's;\[\([^]]*\)\];\1;g' \
- -e 's;<\([^>]*\)>;\1;' \
+ -e 's;<\([^>]*\)>;\1;g' \
-e "s; ;§§;g" \
-e "s;/;%%;g" \
-e "s;§§;${opt_S};g" \
@@ -490,7 +490,7 @@
val_N=`echo ":$val" | \
sed -e 's/^://' \
-e 's;\[\([^]]*\)\];;g' \
- -e 's;<\([^>]*\)>;\1;' \
+ -e 's;<\([^>]*\)>;\1;g' \
-e "s; ;§§;g" \
-e "s;/;%%;g" \
-e "s;§§;${opt_S};g" \
@@ -503,7 +503,7 @@
val_C=`echo ":$val" | \
sed -e 's/^://' \
-e 's;\[\([^]]*\)\];;g' \
- -e 's;[^<]*<\([^>]*\)>;\1;' \
+ -e 's;[^<]*<\([^>]*\)>;\1;g' \
-e "s; ;§§;g" \
-e "s;/;%%;g" \
-e "s;§§;${opt_S};g" \
|
|