Use Sun '/share/ProductivityTools/' only on SunOS.
authorshort <>
Fri, 16 Apr 2004 11:07:55 +0000 (11:07 +0000)
committershort <>
Fri, 16 Apr 2004 11:07:55 +0000 (11:07 +0000)
 - They override even the wrappers they do not provide any binaries for.

.bashrc

diff --git a/.bashrc b/.bashrc
index 54395c5..0af4141 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -43,7 +43,7 @@ function _bash_profile_addpath        # <variablename>,<dirpathname>
 # gid(1) dependency on: /opt/sfw/bin
 # EUID="`id -u 2>/dev/null || /usr/xpg4/bin/id -u 2>/dev/null || gid -u`"
 _bash_profile_addpath -f PATH            "/usr/dist/exe"
-_bash_profile_addpath -f PATH            "/share/ProductivityTools/exe"
+[ "`uname`" = "SunOS" ] && _bash_profile_addpath -f PATH            "/share/ProductivityTools/exe"
 _bash_profile_addpath -f PATH            "/sbin"
 _bash_profile_addpath -f PATH            "/usr/sbin"
 _bash_profile_addpath -f PATH            "/opt/sfw/bin"