The branch master has been updated
       via  e3d818588056ec8fed501e1f5970ef9b5b057fc5 (commit)
      from  fa0a9d715e7e35d4f597683c16b643343245fa26 (commit)


- Log -----------------------------------------------------------------
commit e3d818588056ec8fed501e1f5970ef9b5b057fc5
Author: Richard Levitte <[email protected]>
Date:   Sat Apr 2 17:10:03 2016 +0200

    make depend: Check that find returned a non-empty string rather than an 
empty
    
    The logic to find out of there are any .d files newer than Makefile is
    sound.  Checking the result was less so.
    
    Reviewed-by: Rich Salz <[email protected]>

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

Summary of changes:
 Configurations/unix-Makefile.tmpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Configurations/unix-Makefile.tmpl 
b/Configurations/unix-Makefile.tmpl
index e381237..5b9a23f 100644
--- a/Configurations/unix-Makefile.tmpl
+++ b/Configurations/unix-Makefile.tmpl
@@ -261,7 +261,7 @@ clean: libclean
 # concatenate only if that is true.
 depend:
        @: {- output_off() if $disabled{makedepend}; "" -}
-       @if [ -z "`find $(DEPS) -newer Makefile 2>/dev/null; exit 0`" ]; then \
+       @if [ -n "`find $(DEPS) -newer Makefile 2>/dev/null; exit 0`" ]; then \
          ( sed -e '/^# DO NOT DELETE THIS LINE.*/,$$d' < Makefile; \
            echo '# DO NOT DELETE THIS LINE -- make depend depends on it.'; \
            echo; \
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits

Reply via email to