mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 11:51:07 +07:00
Revert PCRE2 Patch
This commit is contained in:
parent
fec64d1788
commit
9d1fe69816
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user