Revert PCRE2 Patch

This commit is contained in:
Shivam Mathur 2021-07-16 15:52:34 +05:30
parent fec64d1788
commit 9d1fe69816
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -316,10 +316,6 @@ if [ "$existing_version" != "$version" ]; then
status="Installed" status="Installed"
else else
status="Found" status="Found"
# Remove when PCRE2 on macOS images is updated to the patched PCRE2 10.37
add_brew_tap shivammathur/homebrew-php
update_dependencies
brew reinstall pcre2 >/dev/null 2>&1
fi fi
ini_file=$(php -d "date.timezone=UTC" --ini | grep "Loaded Configuration" | sed -e "s|.*:s*||" | sed "s/ //g") ini_file=$(php -d "date.timezone=UTC" --ini | grep "Loaded Configuration" | sed -e "s|.*:s*||" | sed "s/ //g")
sudo chmod 777 "$ini_file" "$tool_path_dir" sudo chmod 777 "$ini_file" "$tool_path_dir"