Skip to content

Commit

Permalink
Retrying the build script thang with some Perl.
Browse files Browse the repository at this point in the history
  • Loading branch information
nateabele committed Feb 20, 2012
1 parent 85b4f5a commit ca83446
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/ci_depends.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ca83446

Please sign in to comment.