Skip to content

Commit

Permalink
Fix cache support for cubrid and pdo_cubrid
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Feb 19, 2021
1 parent 1686147 commit 36ec020
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/scripts/ext/cubrid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ set_cubrid_branch() {
}

add_cubrid_helper() {
if ! [ -e "${ext_dir:?}/$ext.so" ]; then
ext=$1
enable_extension "$ext" extension
if ! check_extension "$ext"; then
status='Installed and enabled'
set_cubrid_repo
set_cubrid_branch
Expand All @@ -44,7 +46,7 @@ add_cubrid_helper() {
add_cubrid() {
ext=$1
status='Enabled'
add_cubrid_helper >/dev/null 2>&1
add_cubrid_helper "$ext" >/dev/null 2>&1
add_extension_log "$ext" "$status"
check_extension "$ext" && add_license_log
}

0 comments on commit 36ec020

Please sign in to comment.