Make these scripts work on SunOS too.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16805 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/llvmdo b/utils/llvmdo
index eb69618..4e7465d 100755
--- a/utils/llvmdo
+++ b/utils/llvmdo
@@ -47,7 +47,11 @@
 TOPDIR=`pwd | sed -e 's#\(.*/llvm\).*#\1#'`
 if test -d "$TOPDIR" ; then
   cd $TOPDIR
-  find $LLVMDO_DIRS -type f \
+  case `uname -s` in
+    SunOS) find_prog=gfind ;;
+    *) find_prog=find ;;
+  esac
+  $find_prog $LLVMDO_DIRS -type f \
     \( \
       -path 'docs/doxygen/*' -o \
       -path 'docs/CommandGuide/html/*' -o \