diff 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
line wrap: on
line diff
--- a/rc/bash	Thu Nov 24 15:23:18 2011 +0700
+++ b/rc/bash	Thu Dec 08 19:11:57 2011 +0700
@@ -69,6 +69,10 @@
       _has_gnu_grep=y
       _grep="ggrep"
     fi
+    if command -v gls > /dev/null 2>&1; then
+      _has_gnu_ls=y
+      _ls="gls"
+    fi
   ;;
   OpenBSD)
     PATH="${PATH}:/usr/X11R6/bin"