Skip to content

Commit

Permalink
fixed cubrid PDO
Browse files Browse the repository at this point in the history
  • Loading branch information
cebe committed Aug 28, 2014
1 parent e648aef commit 68323f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/data/travis/cubrid-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ install_pdo_cubrid() {
wget "http:https://pecl.php.net/get/PDO_CUBRID-$CUBRID_PDO_VERSION.tgz"
fi
tar -zxf "PDO_CUBRID-$CUBRID_PDO_VERSION.tgz"
sh -c "cd PDO_CUBRID-$CUBRID_PDO_VERSION && phpize && ./configure --prefix=$CWD/cubrid/PDO_CUBRID-$CUBRID_PDO_VERSION && make && sudo make install"
sh -c "cd PDO_CUBRID-$CUBRID_PDO_VERSION && phpize && ./configure --prefix=$CWD/cubrid/PDO_CUBRID-$CUBRID_PDO_VERSION && make"

echo "extension=pdo_cubrid.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
echo "extension=$CWD/cubrid/PDO_CUBRID-$CUBRID_PDO_VERSION/modules/pdo_cubrid.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini

return $?
}
Expand Down

0 comments on commit 68323f6

Please sign in to comment.