Skip to content

Commit

Permalink
remove reference to homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
stanley-cheung committed Jul 27, 2016
1 parent b95870d commit fdf27a4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/php/bin/determine_extension_dir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
set -e
default_extension_dir=$(php-config --extension-dir)
if command -v brew > /dev/null && \
brew ls --versions | grep php5[56]-grpc > /dev/null; then
# the grpc php extension was installed by homebrew
:
elif [ ! -e $default_extension_dir/grpc.so ]; then
if [ ! -e $default_extension_dir/grpc.so ]; then
# the grpc extension is not found in the default PHP extension dir
# try the source modules directory
module_dir=../ext/grpc/modules
Expand Down

0 comments on commit fdf27a4

Please sign in to comment.