[openssl-commits] [openssl] OpenSSL_1_0_2-stable update

Richard Levitte levitte at openssl.org
Mon Jan 18 15:21:04 UTC 2016


The branch OpenSSL_1_0_2-stable has been updated
       via  7934ce27cd112d7790f1886aa044a5e66f5681f9 (commit)
      from  4d6fe78f65be650c84e14777c90e7a088f7a44ce (commit)


- Log -----------------------------------------------------------------
commit 7934ce27cd112d7790f1886aa044a5e66f5681f9
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 6a628c7..95bb1b0 100755
--- a/util/domd
+++ b/util/domd
@@ -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


More information about the openssl-commits mailing list