summaryrefslogtreecommitdiff
path: root/ext/pfpro
diff options
context:
space:
mode:
authorJohn Donagher <jdonagher@php.net>2001-07-13 01:46:31 +0000
committerJohn Donagher <jdonagher@php.net>2001-07-13 01:46:31 +0000
commit84cc39ea5f48677556c6c354a6a43cd82262efa2 (patch)
treeb337121254e366ade40c038349a784285d140dd2 /ext/pfpro
parentcbfe23b99bf3cd8700836cf1e6f97d79bde1118c (diff)
downloadphp-git-84cc39ea5f48677556c6c354a6a43cd82262efa2.tar.gz
Quote grep patterns to avoid shell interpretation
Diffstat (limited to 'ext/pfpro')
-rw-r--r--ext/pfpro/config.m44
1 files 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=<pfpro-dir> 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