From 84cc39ea5f48677556c6c354a6a43cd82262efa2 Mon Sep 17 00:00:00 2001 From: John Donagher Date: Fri, 13 Jul 2001 01:46:31 +0000 Subject: [PATCH] Quote grep patterns to avoid shell interpretation --- ext/pfpro/config.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/pfpro/config.m4 b/ext/pfpro/config.m4 index 27853d9954..fac40cdca9 100644 --- a/ext/pfpro/config.m4 +++ b/ext/pfpro/config.m4 @@ -38,8 +38,8 @@ if test "$PHP_PFPRO" != "no"; then ./configure --with-pfpro= if necessary) fi - PFPRO_VERSION3=`nm $PFPRO_LIB_DIR/$PFPRO_LIB | awk '{print $3}' | grep ^pfpro > /dev/null && echo 1 || echo 0` - PFPRO_VERSION2=`nm $PFPRO_LIB_DIR/$PFPRO_LIB | awk '{print $3}' | grep ^PN > /dev/null && echo 1 || echo 0` + PFPRO_VERSION3=`nm $PFPRO_LIB_DIR/$PFPRO_LIB | awk '{print $3}' | grep '^pfpro' > /dev/null && echo 1 || echo 0` + PFPRO_VERSION2=`nm $PFPRO_LIB_DIR/$PFPRO_LIB | awk '{print $3}' | grep '^PN' > /dev/null && echo 1 || echo 0` if test "$PFPRO_VERSION3" -eq 1 ; then PFPRO_VERSION=3 -- 2.40.0