Skip to content
Snippets Groups Projects
Commit 316eedd4 authored by Stanley Cheung's avatar Stanley Cheung
Browse files

regex

parent 4a5c6546
Branches
Tags
No related merge requests found
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
set -e set -e
default_extension_dir=$(php-config --extension-dir) default_extension_dir=$(php-config --extension-dir)
if command -v brew > /dev/null && \ if command -v brew > /dev/null && \
brew ls --versions | grep php5[5\|6]-grpc > /dev/null; then brew ls --versions | grep php5[56]-grpc > /dev/null; then
# the grpc php extension was installed by homebrew # the grpc php extension was installed by homebrew
: :
elif [ ! -e $default_extension_dir/grpc.so ]; then elif [ ! -e $default_extension_dir/grpc.so ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment