[llvm-commits] [llvm] r149085 - /llvm/trunk/utils/llvmgrep
Eric Christopher
echristo at apple.com
Thu Jan 26 14:06:24 PST 2012
Author: echristo
Date: Thu Jan 26 16:06:23 2012
New Revision: 149085
URL: http://llvm.org/viewvc/llvm-project?rev=149085&view=rev
Log:
Use -H on darwin as well.
Patch by Liang Wang!
Modified:
llvm/trunk/utils/llvmgrep
Modified: llvm/trunk/utils/llvmgrep
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/llvmgrep?rev=149085&r1=149084&r2=149085&view=diff
==============================================================================
--- llvm/trunk/utils/llvmgrep (original)
+++ llvm/trunk/utils/llvmgrep Thu Jan 26 16:06:23 2012
@@ -29,7 +29,7 @@
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" \
More information about the llvm-commits
mailing list