pcp
[Top] [All Lists]

[QA 1.1 PATCH]

To: PCP <pcp@xxxxxxxxxxx>
Subject: [QA 1.1 PATCH]
From: Alan Hoyt <ahoyt@xxxxxxxxxxxxx>
Date: Tue, 03 Jun 2003 14:58:44 -0500
Sender: pcp-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
for solaris platform id

- Alan -
--- mk.localconfig.orig 2003-02-13 10:51:38.000000000 +0000
+++ mk.localconfig      2003-06-03 16:41:34.420003000 +0000
@@ -115,6 +115,16 @@
     [ -z "$PCP_VER" ] && PCP_VER=0
     PCP_EOE_VER=$PCP_VER
     PCP_EOE_NOSHIP_VER=0
+elif [ "$PCP_PLATFORM" = solaris ]
+then
+    PCP_VER=`echo $PCP_VERSION \
+             | sed \
+                 -e '/^[^.]*\.[^.]*$/s/$/.0/' \
+                 -e 's/\.\([0-9]\)$/.0\1/' \
+                 -e 's/\.//g'`
+    [ -z "$PCP_VER" ] && PCP_VER=0
+    PCP_EOE_VER=$PCP_VER
+    PCP_EOE_NOSHIP_VER=0
 
 else
     echo "$0: Error: I don't understand your \$PCP_PLATFORM=\"$PCP_PLATFORM\""
<Prev in Thread] Current Thread [Next in Thread>