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"
|
add_extension_log "couchbase" "Installed and enabled"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ -e "${ext_dir:?}"/libcouchbase_php_core.dylib ]; then
|
find "${ext_dir:?}" -maxdepth 1 -name 'libcouchbase_php*.dylib' -exec sudo cp {} "${brew_prefix:?}/lib" \; >/dev/null 2>&1
|
||||||
sudo cp "${ext_dir:?}"/libcouchbase_php_core.dylib "${brew_prefix:?}"/lib
|
|
||||||
fi
|
|
||||||
add_brew_extension couchbase extension
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user