diff --git a/src/scripts/darwin.sh b/src/scripts/darwin.sh index aee6d5c7..803e8f4e 100644 --- a/src/scripts/darwin.sh +++ b/src/scripts/darwin.sh @@ -91,8 +91,8 @@ add_devtools() { # Function to handle request to add PECL. add_pecl() { configure_pecl >/dev/null 2>&1 - pecl_version=$(get_tool_version "pecl" "version") - add_log "${tick:?}" "PECL" "Found PECL $pecl_version" + pear_version=$(get_tool_version "pecl" "version") + add_log "${tick:?}" "PECL" "Found PECL $pear_version" } # Function to link all libraries of a formula. diff --git a/src/scripts/linux.sh b/src/scripts/linux.sh index 2b0a0a3c..6f8d109b 100644 --- a/src/scripts/linux.sh +++ b/src/scripts/linux.sh @@ -105,8 +105,8 @@ add_pecl() { install_packages php-pear fi configure_pecl >/dev/null 2>&1 - pecl_version=$(get_tool_version "pecl" "version") - add_log "${tick:?}" "PECL" "Added PECL $pecl_version" + pear_version=$(get_tool_version "pecl" "version") + add_log "${tick:?}" "PECL" "Added PECL $pear_version" } # Function to switch versions of PHP binaries.