Styling update to makefiles: eliminate redundant pipes.
[openssl.git] / Makefile.org
index ea0d72baafe99d67b4e651b391f424b110f533c5..580a26937a9a4ee549052318b5d091563668d588 100644 (file)
@@ -225,7 +225,7 @@ BUILD_CMD=  if [ -d "$$dir" ]; then \
            fi
 RECURSIVE_BUILD_CMD=for dir in $(DIRS); do $(BUILD_CMD); done
 BUILD_ONE_CMD=\
-       if echo " $(DIRS) " | grep " $$dir " >/dev/null 2>/dev/null; then \
+       if expr " $(DIRS) " : ".* $$dir " >/dev/null 2>&1; then \
                $(BUILD_CMD); \
        fi