changeset 247:3d57990fe9d1

Path adjustment for Solaris. Mainly for coping with Solaris 10.
author Edho Arief <edho@myconan.net>
date Mon, 07 Nov 2011 12:36:38 +0700
parents 4eeccee282b1
children fbb03c862b63
files rc/bash
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rc/bash	Mon Nov 07 12:34:33 2011 +0700
+++ b/rc/bash	Mon Nov 07 12:36:38 2011 +0700
@@ -51,10 +51,11 @@
     [ -x /usr/gnu/bin/rm ] && _has_rm_I=y
     [ -x /usr/gnu/bin/ls ] && _has_gnu_ls=y
     [ -x /usr/gnu/bin/grep ] && _has_gnu_grep=y
-    [ -d /usr/xpg4/bin ] && PATH="/usr/xpg4/bin:${PATH}"
     [ -d /opt/csw/bin ] && PATH="/opt/csw/bin:${PATH}"
     [ -d /opt/csw/sbin ] && PATH="/opt/csw/sbin:${PATH}"
     [ -d /usr/gnu/bin ] && PATH="/usr/gnu/bin:${PATH}"
+    [ -d /usr/sfw/bin ] && PATH="${PATH}:/usr/sfw/bin"
+    [ -d /usr/xpg4/bin ] && PATH="${PATH}:/usr/xpg4/bin"
     export PATH
     alias ping="ping -s"
     alias ping6="ping -A inet6"