OSSP CVS Repository

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

Check-in Number: 5388
Date: 2006-Apr-19 18:28:08 (local)
2006-Apr-19 16:28:08 (UTC)
User:rse
Branch:
Comment: Add correct detection of Sun Solaris on AMD64 to GNU shtool "platform" command.

Sponsored by: SpaceNet AG <http://www.space.net/> via OpenPKG GmbH <http://www.openpkg.com/>

Tickets:
Inspections:
Files:
ossp-pkg/shtool/ChangeLog      1.224 -> 1.225     4 inserted, 0 deleted
ossp-pkg/shtool/sh.platform      1.15 -> 1.16     6 inserted, 1 deleted

ossp-pkg/shtool/ChangeLog 1.224 -> 1.225

--- ChangeLog    2006/02/07 08:31:44     1.224
+++ ChangeLog    2006/04/19 16:28:08     1.225
@@ -11,6 +11,10 @@
 
  Changes between 2.0.4 and 2.0.5 (04-Feb-2006 to 07-Feb-2006):
 
+   *) Add correct detection of Sun Solaris on AMD64 to
+      GNU shtool "platform" command.
+      [Ralf S. Engelschall]
+
    *) Fix "shtool version" command which got broken after
       recent util_{lower,upper} usage.
       [Ralf S. Engelschall]


ossp-pkg/shtool/sh.platform 1.15 -> 1.16

--- sh.platform  2006/02/04 09:43:25     1.15
+++ sh.platform  2006/04/19 16:28:08     1.16
@@ -262,7 +262,12 @@
         #   determine architecture
         AT="${UNAME_MACHINE}"
         case "${AT}" in
-            i86pc ) AT="iX86" ;;
+            i86pc )
+                AT="iX86"
+                case "`(/bin/isainfo -k) 2>&1`" in
+                    amd64 ) AT="AMD64" ;;
+                esac
+                ;;
         esac
         AP="${AT}"
         case "${AP}" in

CVSTrac 2.0.1