With DJGPP, it seems like the return code from grep, even when in the
authorRichard Levitte <levitte@openssl.org>
Sun, 19 Jun 2005 20:31:22 +0000 (20:31 +0000)
committerRichard Levitte <levitte@openssl.org>
Sun, 19 Jun 2005 20:31:22 +0000 (20:31 +0000)
middle of a pipe, is noted.  Counter that by forcing a true return code
when the return code has no importance.

PR: 1085

Makefile.org

index 1900e89e8cf5e8fa9615c00b1a53b795c5cd5d28..005a2e1834596672ef3ec51fc5f22044640e5422 100644 (file)
@@ -878,8 +878,8 @@ install_docs:
                        --release=$(VERSION) `basename $$i`") \
                        >  $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$${sec}$(MANSUFFIX); \
                $(PERL) util/extract-names.pl < $$i | \
-                       grep -v $$filecase "^$$fn\$$" | \
-                       grep -v "[      ]" | \
+                       (grep -v $$filecase "^$$fn\$$"; true) | \
+                       (grep -v "[     ]"; true) | \
                        (cd $(INSTALL_PREFIX)$(MANDIR)/man$$sec/; \
                         while read n; do \
                                $$here/util/point.sh $$fn.$${sec}$(MANSUFFIX) "$$n".$${sec}$(MANSUFFIX); \
@@ -895,8 +895,8 @@ install_docs:
                        --release=$(VERSION) `basename $$i`") \
                        >  $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$${sec}$(MANSUFFIX); \
                $(PERL) util/extract-names.pl < $$i | \
-                       grep -v $$filecase "^$$fn\$$" | \
-                       grep -v "[      ]" | \
+                       (grep -v $$filecase "^$$fn\$$"; true) | \
+                       (grep -v "[     ]"; true) | \
                        (cd $(INSTALL_PREFIX)$(MANDIR)/man$$sec/; \
                         while read n; do \
                                $$here/util/point.sh $$fn.$${sec}$(MANSUFFIX) "$$n".$${sec}$(MANSUFFIX); \