Fix version for PECL extensions in logs

This commit is contained in:
Shivam Mathur 2021-09-19 03:17:13 +05:30
parent 094bc8ae17
commit d8d1da5d6d
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A
2 changed files with 4 additions and 4 deletions

View File

@ -91,8 +91,8 @@ add_devtools() {
# Function to handle request to add PECL. # Function to handle request to add PECL.
add_pecl() { add_pecl() {
configure_pecl >/dev/null 2>&1 configure_pecl >/dev/null 2>&1
pecl_version=$(get_tool_version "pecl" "version") pear_version=$(get_tool_version "pecl" "version")
add_log "${tick:?}" "PECL" "Found PECL $pecl_version" add_log "${tick:?}" "PECL" "Found PECL $pear_version"
} }
# Function to link all libraries of a formula. # Function to link all libraries of a formula.

View File

@ -105,8 +105,8 @@ add_pecl() {
install_packages php-pear install_packages php-pear
fi fi
configure_pecl >/dev/null 2>&1 configure_pecl >/dev/null 2>&1
pecl_version=$(get_tool_version "pecl" "version") pear_version=$(get_tool_version "pecl" "version")
add_log "${tick:?}" "PECL" "Added PECL $pecl_version" add_log "${tick:?}" "PECL" "Added PECL $pear_version"
} }
# Function to switch versions of PHP binaries. # Function to switch versions of PHP binaries.