We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e89813 commit 5006a77Copy full SHA for 5006a77
1 file changed
src/scripts/extensions/couchbase.sh
@@ -79,9 +79,8 @@ add_couchbase() {
79
add_extension_log "couchbase" "Installed and enabled"
80
fi
81
else
82
- if [ -e "${ext_dir:?}"/libcouchbase_php_core.dylib ]; then
83
- sudo cp "${ext_dir:?}"/libcouchbase_php_core.dylib "${brew_prefix:?}"/lib
84
- fi
+ find "${ext_dir:?}" -maxdepth 1 -name 'libcouchbase_php*.dylib' -exec sudo cp {} "${brew_prefix:?}/lib" \; >/dev/null 2>&1
85
add_brew_extension couchbase extension
+ find "${brew_prefix:?}/lib" -maxdepth 1 -name 'libcouchbase_php*.dylib' -exec sudo cp {} "${ext_dir:?}" \; >/dev/null 2>&1
86
87
}
0 commit comments