From: short <> Date: Fri, 16 Apr 2004 11:07:55 +0000 (+0000) Subject: Use Sun '/share/ProductivityTools/' only on SunOS. X-Git-Tag: bp_liverpm~21 X-Git-Url: http://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=989fd0f519c85076184a87d777af40d44b5fdef0;hp=cc338410f137363a8f1acb3dbc28daafb4cd69c9 Use Sun '/share/ProductivityTools/' only on SunOS. - They override even the wrappers they do not provide any binaries for. --- diff --git a/.bashrc b/.bashrc index 54395c5..0af4141 100644 --- a/.bashrc +++ b/.bashrc @@ -43,7 +43,7 @@ function _bash_profile_addpath # , # 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"