mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 20:01:06 +07:00
Fix version for PECL extensions in logs
This commit is contained in:
parent
094bc8ae17
commit
d8d1da5d6d
@ -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.
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user