comparison bash @ 51:4496c7bf953d

[bash] csw after gnu
author Edho Prima Arief <me@myconan.net>
date Wed, 27 Apr 2011 22:43:00 +0700
parents b7a63c71b07f
children d07ce874a280
comparison
equal deleted inserted replaced
50:b7a63c71b07f 51:4496c7bf953d
19 _has_gnu_ls=y 19 _has_gnu_ls=y
20 ;; 20 ;;
21 SunOS) 21 SunOS)
22 [ -x /usr/gnu/bin/rm ] && _has_rm_I=y 22 [ -x /usr/gnu/bin/rm ] && _has_rm_I=y
23 [ -x /usr/gnu/bin/ls ] && _has_gnu_ls=y 23 [ -x /usr/gnu/bin/ls ] && _has_gnu_ls=y
24 [ -d /usr/gnu/bin ] && PATH="/usr/gnu/bin:${PATH}"
25 [ -d /opt/csw/bin ] && PATH="/opt/csw/bin:${PATH}" 24 [ -d /opt/csw/bin ] && PATH="/opt/csw/bin:${PATH}"
26 [ -d /opt/csw/sbin ] && PATH="/opt/csw/sbin:${PATH}" 25 [ -d /opt/csw/sbin ] && PATH="/opt/csw/sbin:${PATH}"
26 [ -d /usr/gnu/bin ] && PATH="/usr/gnu/bin:${PATH}"
27 ;; 27 ;;
28 *BSD) 28 *BSD)
29 _has_rm_I=y 29 _has_rm_I=y
30 ;; 30 ;;
31 esac 31 esac