summaryrefslogtreecommitdiff
path: root/utils/llvmgrep
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-01-26 22:06:23 +0000
committerEric Christopher <echristo@apple.com>2012-01-26 22:06:23 +0000
commitf26475af976389839c4affdcd2b5ef07ba548a81 (patch)
tree75078998af7fd7ceaf4702e58080fd17f41ab15c /utils/llvmgrep
parent6b0dc92043ab1f63d78b8796098575e1d777b701 (diff)
Use -H on darwin as well.
Patch by Liang Wang! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149085 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/llvmgrep')
-rwxr-xr-xutils/llvmgrep2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/llvmgrep b/utils/llvmgrep
index 540f0598579..dc15da4961e 100755
--- a/utils/llvmgrep
+++ b/utils/llvmgrep
@@ -29,7 +29,7 @@ if test -d "$TOPDIR" ; then
cd $TOPDIR
case `uname -s` in
SunOS) grep_cmd="ggrep -H -n" ;;
- Linux) grep_cmd="egrep -H -n" ;;
+ Linux|Darwin) grep_cmd="egrep -H -n" ;;
*) grep_cmd="egrep -l -n" ;;
esac
./utils/llvmdo -topdir "$TOPDIR" \