It seems like grep isn't as capable as I thought on some Unix systems.
authorRichard Levitte <levitte@openssl.org>
Sun, 22 Oct 2000 16:46:47 +0000 (16:46 +0000)
committerRichard Levitte <levitte@openssl.org>
Sun, 22 Oct 2000 16:46:47 +0000 (16:46 +0000)
Use egrep instead.

Makefile.org

index 1e6e5fc..3af3971 100644 (file)
@@ -207,7 +207,7 @@ sub_all:
        fi; \
        done; \
        if echo "$(DIRS)" | \
        fi; \
        done; \
        if echo "$(DIRS)" | \
-           grep '\(^\| \)\(crypto\|ssl\)\( \|$$\)' > /dev/null 2>&1 && \
+           egrep '(^| )(crypto|ssl)( |$$)' > /dev/null 2>&1 && \
           [ -n "$(SHARED_LIBS)" ]; then \
                $(MAKE) $(SHARED_LIBS); \
        fi
           [ -n "$(SHARED_LIBS)" ]; then \
                $(MAKE) $(SHARED_LIBS); \
        fi