Commit 7934ce27 authored by Kristian Amlie's avatar Kristian Amlie Committed by Richard Levitte
Browse files

Don't use "grep -q", "-q" is not POSIX, and fails on Solaris.

parent 4d6fe78f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -14,8 +14,8 @@ if [ "$MAKEDEPEND" = "" ]; then MAKEDEPEND=makedepend; fi
cp Makefile Makefile.save
# fake the presence of Kerberos
touch $TOP/krb5.h
if ${MAKEDEPEND} --version 2>&1 | grep -q "clang" ||
   echo $MAKEDEPEND | grep -q "gcc"; then
if ${MAKEDEPEND} --version 2>&1 | grep "clang" > /dev/null ||
   echo $MAKEDEPEND | grep "gcc" > /dev/null; then
    args=""
    while [ $# -gt 0 ]; do
	if [ "$1" != "--" ]; then args="$args $1"; fi