[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Mon Jan 18 15:17:07 UTC 2016


The branch master has been updated
       via  86334b6a61b35a3f3d487cc0eb74ac1aff79d185 (commit)
      from  b9ee2dacbc9309275c972bc4b863f72dcc67dec1 (commit)


- Log -----------------------------------------------------------------
commit 86334b6a61b35a3f3d487cc0eb74ac1aff79d185
Author: Kristian Amlie <kristian.amlie at cfengine.com>
Date:   Mon Jan 18 15:18:56 2016 +0100

    Don't use "grep -q", "-q" is not POSIX, and fails on Solaris.
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    Reviewed-by: Richard Levitte <levitte at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 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


More information about the openssl-commits mailing list