blob: 73511d9665707f3b0a0c041a101b0ea6ec62cec1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
Index: llvm-3.5.git/utils/llvmdo
===================================================================
--- llvm-3.5.git.orig/utils/llvmdo
+++ llvm-3.5.git/utils/llvmdo
@@ -166,12 +166,6 @@ files_to_ignore="\
if test -d "$TOPDIR" ; then
cd $TOPDIR
- # Have to use the right "find" on a per-platform basis. Most platforms have
- # Gnu find as "find", but Solaris does not.
- case `uname -s` in
- SunOS) find_prog=gfind ;;
- *) find_prog=find ;;
- esac
# Turn off file name generation (globbing) so that substitution of the
# variables doesn't cause the shell to create lists of file names
set -f
Index: llvm-3.5.git/utils/llvmgrep
===================================================================
--- llvm-3.5.git.orig/utils/llvmgrep
+++ llvm-3.5.git/utils/llvmgrep
@@ -28,7 +28,7 @@ fi
if test -d "$TOPDIR" ; then
cd $TOPDIR
case `uname -s` in
- SunOS) grep_cmd="ggrep -H -n" ;;
+ SunOS) grep_cmd="egrep -H -n" ;;
Linux|Darwin) grep_cmd="egrep -H -n" ;;
*) grep_cmd="egrep -l -n" ;;
esac
|