From f26475af976389839c4affdcd2b5ef07ba548a81 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 26 Jan 2012 22:06:23 +0000 Subject: 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 --- utils/llvmgrep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/llvmgrep b/utils/llvmgrep index 540f059..dc15da4 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" \ -- cgit v1.1