]> granicus.if.org Git - openssl/commitdiff
Standard sh doesn't tolerate ! as part of the conditional command.
authorRichard Levitte <levitte@openssl.org>
Mon, 21 Jun 2004 18:05:53 +0000 (18:05 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 21 Jun 2004 18:05:53 +0000 (18:05 +0000)
PR: 900

Makefile.org

index 14eef7f2ec5b40e432de046084c9d3510f622fe9..e26a32a980429e163fd9f5e0969cd31750ca7a15 100644 (file)
@@ -814,7 +814,9 @@ install: all install_docs
                if [ -f "$$i" ]; then \
                (       echo installing $$i; \
                        cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.new; \
-                       if ! egrep 'define OPENSSL_FIPS' $(TOP)/include/openssl/opensslconf.h > /dev/null; then \
+                       if egrep 'define OPENSSL_FIPS' $(TOP)/include/openssl/opensslconf.h > /dev/null; then \
+                               : ; \
+                       else \
                                $(RANLIB) $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.new; \
                        fi; \
                        chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.new; \