comparison rc/bash @ 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 ebfa844d2ef8
children 68b765e9cf76
comparison
equal deleted inserted replaced
246:4eeccee282b1 247:3d57990fe9d1
49 ;; 49 ;;
50 SunOS) 50 SunOS)
51 [ -x /usr/gnu/bin/rm ] && _has_rm_I=y 51 [ -x /usr/gnu/bin/rm ] && _has_rm_I=y
52 [ -x /usr/gnu/bin/ls ] && _has_gnu_ls=y 52 [ -x /usr/gnu/bin/ls ] && _has_gnu_ls=y
53 [ -x /usr/gnu/bin/grep ] && _has_gnu_grep=y 53 [ -x /usr/gnu/bin/grep ] && _has_gnu_grep=y
54 [ -d /usr/xpg4/bin ] && PATH="/usr/xpg4/bin:${PATH}"
55 [ -d /opt/csw/bin ] && PATH="/opt/csw/bin:${PATH}" 54 [ -d /opt/csw/bin ] && PATH="/opt/csw/bin:${PATH}"
56 [ -d /opt/csw/sbin ] && PATH="/opt/csw/sbin:${PATH}" 55 [ -d /opt/csw/sbin ] && PATH="/opt/csw/sbin:${PATH}"
57 [ -d /usr/gnu/bin ] && PATH="/usr/gnu/bin:${PATH}" 56 [ -d /usr/gnu/bin ] && PATH="/usr/gnu/bin:${PATH}"
57 [ -d /usr/sfw/bin ] && PATH="${PATH}:/usr/sfw/bin"
58 [ -d /usr/xpg4/bin ] && PATH="${PATH}:/usr/xpg4/bin"
58 export PATH 59 export PATH
59 alias ping="ping -s" 60 alias ping="ping -s"
60 alias ping6="ping -A inet6" 61 alias ping6="ping -A inet6"
61 ;; 62 ;;
62 FreeBSD) 63 FreeBSD)