summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKristian Amlie <kristian.amlie@cfengine.com>2016-01-18 15:18:56 +0100
committerRichard Levitte <levitte@openssl.org>2016-01-18 16:16:20 +0100
commit86334b6a61b35a3f3d487cc0eb74ac1aff79d185 (patch)
treef20d400056dfb20b436905b7764872c6412f7c47 /util
parentb9ee2dacbc9309275c972bc4b863f72dcc67dec1 (diff)
Don't use "grep -q", "-q" is not POSIX, and fails on Solaris.
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'util')
-rwxr-xr-xutil/domd4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/domd b/util/domd
index e39d3e304e..16de5c7ebc 100755
--- a/util/domd
+++ b/util/domd
@@ -16,8 +16,8 @@ fi
if [ "$MAKEDEPEND" = "" ]; then MAKEDEPEND=makedepend; fi
cp Makefile Makefile.save
-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