From 592bbc7716e1fac3563f580318627ea322414460 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Wed, 7 Jun 2023 09:24:56 +0530 Subject: [PATCH] Shorten grep call in add_extensions.sh --- src/scripts/extensions/add_extensions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/extensions/add_extensions.sh b/src/scripts/extensions/add_extensions.sh index d4cf87afa..fc9d796a8 100644 --- a/src/scripts/extensions/add_extensions.sh +++ b/src/scripts/extensions/add_extensions.sh @@ -188,7 +188,7 @@ pecl_install() { yes '' 2>/dev/null | sudo "$prefix_opts" pecl install -f -D "$(parse_pecl_configure_options "$suffix_opts")" "$extension" >/dev/null 2>&1 fi local exit_code=$? - sudo pecl info "$extension" | grep -iq 'PECL-style zend extension' && prefix=zend_extension + sudo pecl info "$extension" | grep -iq 'zend extension' && prefix=zend_extension enable_extension "${extension%-*}" "$prefix" return "$exit_code" }