mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
Fix brew action (#13659)
We patch brew to ensure it overwrites files while linking the dependencies
This commit is contained in:
6
.github/actions/brew/action.yml
vendored
6
.github/actions/brew/action.yml
vendored
@@ -5,6 +5,12 @@ runs:
|
||||
- shell: bash
|
||||
run: |
|
||||
set -x
|
||||
|
||||
# Patch brew to overwrite always
|
||||
formula_installer="$(brew --repo)"/Library/Homebrew/formula_installer.rb
|
||||
code=" keg.link\(verbose: verbose\?"
|
||||
sudo sed -Ei '' "s/$code.*/$code, overwrite: true\)/" "$formula_installer"
|
||||
|
||||
brew install \
|
||||
pkg-config \
|
||||
autoconf \
|
||||
|
||||
Reference in New Issue
Block a user