mirror of
https://github.com/shivammathur/setup-php.git
synced 2026-03-13 20:31:39 +07:00
Fix caching couchbase on macOS
This commit is contained in:
@@ -79,9 +79,8 @@ add_couchbase() {
|
||||
add_extension_log "couchbase" "Installed and enabled"
|
||||
fi
|
||||
else
|
||||
if [ -e "${ext_dir:?}"/libcouchbase_php_core.dylib ]; then
|
||||
sudo cp "${ext_dir:?}"/libcouchbase_php_core.dylib "${brew_prefix:?}"/lib
|
||||
fi
|
||||
find "${ext_dir:?}" -maxdepth 1 -name 'libcouchbase_php*.dylib' -exec sudo cp {} "${brew_prefix:?}/lib" \; >/dev/null 2>&1
|
||||
add_brew_extension couchbase extension
|
||||
find "${brew_prefix:?}/lib" -maxdepth 1 -name 'libcouchbase_php*.dylib' -exec sudo cp {} "${ext_dir:?}" \; >/dev/null 2>&1
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user