Simple build fix for Solaris. See commit message in the patch for details.

I hope this can make it into the openssl repository.

-- 
Kristian
>From 2e535aeb08ae275c13e93440641a1c4577bbd42d Mon Sep 17 00:00:00 2001
From: Kristian Amlie <kristian.am...@cfengine.com>
Date: Mon, 18 Jan 2016 15:18:56 +0100
Subject: [PATCH] Don't use "grep -q", "-q" is not POSIX, and fails on
 Solaris.

---
 util/domd |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/util/domd b/util/domd
index e39d3e3..16de5c7 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
-- 
1.7.9.5

_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to