Use -H on darwin as well.

Patch by Liang Wang!

llvm-svn: 149085
This commit is contained in:
Eric Christopher 2012-01-26 22:06:23 +00:00
parent f8ce8575aa
commit 6a6a30d555

View File

@ -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" \