summaryrefslogtreecommitdiffstats
path: root/pear.sh
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-04-10 19:12:35 +0200
committerRemi Collet <fedora@famillecollet.com>2014-04-10 19:12:35 +0200
commit1af327c9e25653904943a318747dcfc24ec6531c (patch)
tree832605b1e2cbb79d9b9518cf18b4d13a5119986d /pear.sh
parent1d23576a710a154a650068969d285256bb45482e (diff)
php-pear: better fix to detect xml.so
Diffstat (limited to 'pear.sh')
-rw-r--r--pear.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pear.sh b/pear.sh
index 1847471..d0f10ed 100644
--- a/pear.sh
+++ b/pear.sh
@@ -1,6 +1,6 @@
#!/bin/sh
EXT="-d extension=posix.so"
-DIR=$(/usr/bin/php -r 'echo ini_get("extension_dir");')
+DIR=$(/usr/bin/php -n -r 'echo ini_get("extension_dir");')
if [ -f $DIR/xml.so ] ; then
EXT="$EXT -d extension=xml.so"
fi