comparison rc/bash @ 272:53bbc9673f87

Check GNU ls on Solaris.
author Edho Arief <edho@myconan.net>
date Thu, 08 Dec 2011 19:11:57 +0700
parents 003b0c8870b3
children 33d0cb669e1f
comparison
equal deleted inserted replaced
271:003b0c8870b3 272:53bbc9673f87
66 fi 66 fi
67 [ -f /usr/share/lib/terminfo/?/"${TERM}" ] || export TERM=dtterm 67 [ -f /usr/share/lib/terminfo/?/"${TERM}" ] || export TERM=dtterm
68 if command -v ggrep > /dev/null 2>&1; then 68 if command -v ggrep > /dev/null 2>&1; then
69 _has_gnu_grep=y 69 _has_gnu_grep=y
70 _grep="ggrep" 70 _grep="ggrep"
71 fi
72 if command -v gls > /dev/null 2>&1; then
73 _has_gnu_ls=y
74 _ls="gls"
71 fi 75 fi
72 ;; 76 ;;
73 OpenBSD) 77 OpenBSD)
74 PATH="${PATH}:/usr/X11R6/bin" 78 PATH="${PATH}:/usr/X11R6/bin"
75 if command -v gls > /dev/null 2>&1; then 79 if command -v gls > /dev/null 2>&1; then