From d8d1da5d6db636ed3a6d80743a88ab6558f9ea86 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Sun, 19 Sep 2021 03:17:13 +0530 Subject: [PATCH] Fix version for PECL extensions in logs --- src/scripts/darwin.sh | 4 ++-- src/scripts/linux.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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.