summaryrefslogtreecommitdiffstats
path: root/pear.sh
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-04-17 20:15:30 +0200
committerRemi Collet <fedora@famillecollet.com>2014-04-17 20:15:30 +0200
commit00639de7754d9717948f958d9a5c73babf6cc464 (patch)
tree840452b35a01b36bc1c190c72589a58a3aaa77c3 /pear.sh
parent1af327c9e25653904943a318747dcfc24ec6531c (diff)
php-pear: revert previous, was a bad solution
Diffstat (limited to 'pear.sh')
-rw-r--r--pear.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/pear.sh b/pear.sh
index d0f10ed..218014a 100644
--- a/pear.sh
+++ b/pear.sh
@@ -1,11 +1,5 @@
#!/bin/sh
-EXT="-d extension=posix.so"
-DIR=$(/usr/bin/php -n -r 'echo ini_get("extension_dir");')
-if [ -f $DIR/xml.so ] ; then
- EXT="$EXT -d extension=xml.so"
-fi
exec /usr/bin/php -C \
- -n $EXT \
-d include_path=/usr/share/pear \
-d date.timezone=UTC \
-d output_buffering=1 \