OSSP CVS Repository

ossp - Difference in ossp-pkg/platform/platform.sh versions 1.7 and 1.8
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/platform/platform.sh 1.7 -> 1.8

--- platform.sh  2003/09/11 17:59:34     1.7
+++ platform.sh  2003/09/12 09:25:06     1.8
@@ -362,7 +362,9 @@
         if [ -f /etc/lsb-release ]; then
             eval `( . /etc/lsb-release
                 echo "SC=\"LSB${LSB_VERSION}\""
-                echo "SP=\"${DISTRIB_ID} ${DISTRIB_RELEASE}\""
+                if [ ".${DISTRIB_ID}" != . ]; then
+                    echo "SP=\"${DISTRIB_ID} ${DISTRIB_RELEASE}\""
+                fi
             ) 2>/dev/null`
         fi
         if [ ".$SP" = . ]; then

CVSTrac 2.0.1