Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Retrying the build script thang with some Perl.

  • Loading branch information...
commit ca834468e4ae4e607fee0df6f237b0d2cf5497eb 1 parent 85b4f5a
@nateabele nateabele authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  tests/ci_depends.sh
View
3  tests/ci_depends.sh
@@ -9,3 +9,6 @@ wget -q http://pecl.php.net/get/mongo-1.2.7.tgz
tar -xzf mongo-1.2.7.tgz
sh -c "cd mongo-1.2.7 && phpize && ./configure && make -s && sudo make -s install"
echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
+
+INIFILE=`php --ini | grep "Loaded Configuration" | awk {'print $4'}`
+perl -p -i -e 's/phar\.readonly = On/phar.readonly = Off/' $INIFILE
Please sign in to comment.
Something went wrong with that request. Please try again.