summaryrefslogtreecommitdiffstats
path: root/llvm
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
commit6a6a30d555e20507f42f25eb7d7662165f4cf2cb (patch)
tree0979ddb24ee1ebd51118735c037834f37edbea51 /llvm
parentf8ce8575aadcd77dff567e3e4daeb257db76697e (diff)
downloadbcm5719-llvm-6a6a30d555e20507f42f25eb7d7662165f4cf2cb.tar.gz
bcm5719-llvm-6a6a30d555e20507f42f25eb7d7662165f4cf2cb.zip
Use -H on darwin as well.
Patch by Liang Wang! llvm-svn: 149085
Diffstat (limited to 'llvm')
-rwxr-xr-xllvm/utils/llvmgrep2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/llvmgrep b/llvm/utils/llvmgrep
index 540f0598579..dc15da4961e 100755
--- a/llvm/utils/llvmgrep
+++ b/llvm/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" \
OpenPOWER on IntegriCloud