OSSP CVS Repository

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

ossp-pkg/due/.due/due.platform.sh 1.2 -> 1.3

--- due.platform.sh      2004/10/22 19:32:52     1.2
+++ due.platform.sh      2004/10/24 19:10:38     1.3
@@ -35,13 +35,13 @@
 OSVEND=unknown
 
 #   adjust platform specific base run-time environment
-case $OSTYPE in
-    FreeBSD* )
+case $OSNAME in
+    freebsd )
         PATH="/bin:/usr/bin:/sbin:/usr/sbin"
         LD_LIBRARY_PATH="/usr/lib:/usr/lib/compat"
         MANPATH="/usr/share/man"
         ;;
-    Linux* )
+    linux )
         PATH="/bin:/usr/bin:/sbin:/usr/sbin"
         LD_LIBRARY_PATH="/lib:/usr/lib"
         MANPATH="/usr/man:/usr/share/man"
@@ -51,7 +51,7 @@
         elif [ -f /etc/SuSE-release   ]; then OSVEND=SuSE
         fi
         ;;
-    SunOS* ) 
+    solaris ) 
         PATH="/usr/bin:/usr/ccs/bin:/usr/sbin:/sbin"
         LD_LIBRARY_PATH="/usr/lib:/usr/ccs/lib"
         MANPATH="/usr/share/man"
@@ -64,3 +64,17 @@
 esac
 activate_generic /usr/X11R6 /usr/X11 /usr/openwin
 
+#   platform specific convenience command line argument mapping
+case $OSNAME in
+    solaris | hpux )
+        function ps () { 
+            if [ ".$1" = ".-ax" -o ".$1" = ".-aux" ]; then
+                shift
+                command ps -ef "$@"
+            else
+                command ps "$@"
+            fi
+        }
+        ;;
+esac    
+

CVSTrac 2.0.1