OSSP CVS Repository

ossp - Check-in [5964]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 5964
Date: 2007-Jul-25 08:24:11 (local)
2007-Jul-25 06:24:11 (UTC)
User:rse
Branch:
Comment: use PPC instead of powerpc under AIX to align to other platforms
Tickets:
Inspections:
Files:
ossp-pkg/shtool/sh.platform      1.24 -> 1.25     3 inserted, 3 deleted

ossp-pkg/shtool/sh.platform 1.24 -> 1.25

--- sh.platform  2007/06/05 16:52:33     1.24
+++ sh.platform  2007/07/25 06:24:11     1.25
@@ -399,15 +399,15 @@
     #   IBM AIX
     *:AIX:* )
         #   determine architecture
-        cpu_arch=rs6000
+        cpu_arch=RS6000
         if [ -x /usr/sbin/lsdev -a -x /usr/sbin/lsattr ]; then
             cpu_id=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
             if [ ".`/usr/sbin/lsattr -El ${cpu_id} | grep -i powerpc`" != . ]; then
-                cpu_arch=powerpc
+                cpu_arch=PPC
             fi
         elif [ -d /QOpenSys ]; then
             #   IBM i5/OS (aka OS/400) with PASE (Portable Application Solutions Environment)
-            cpu_arch=powerpc
+            cpu_arch=PPC
         fi
         if [ -x /usr/bin/oslevel ]; then
             os_level=`/usr/bin/oslevel`

CVSTrac 2.0.1