mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-26 13:23:05 +07:00
Revert "Fix macOS patch to allow link libraries"
This reverts commit e2e76ea34f
.
This commit is contained in:
parent
e2e76ea34f
commit
0bc2f7ce96
@ -132,7 +132,7 @@ patch_brew() {
|
|||||||
# Helper function to update the dependencies.
|
# Helper function to update the dependencies.
|
||||||
update_dependencies_helper() {
|
update_dependencies_helper() {
|
||||||
dependency=$1
|
dependency=$1
|
||||||
# get -q -n "$tap_dir/homebrew/homebrew-core/Formula/$dependency.rb" "https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/$dependency.rb"
|
get -q -n "$tap_dir/homebrew/homebrew-core/Formula/$dependency.rb" "https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/$dependency.rb"
|
||||||
link_libraries "$dependency"
|
link_libraries "$dependency"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -145,7 +145,7 @@ update_dependencies() {
|
|||||||
(
|
(
|
||||||
cd "$tap_dir/homebrew/homebrew-core" || true
|
cd "$tap_dir/homebrew/homebrew-core" || true
|
||||||
git add . && git stash && git pull origin master
|
git add . && git stash && git pull origin master
|
||||||
) >/dev/null 2>&1
|
) >/dev/null 2>&1 && return
|
||||||
|
|
||||||
while read -r dependency; do
|
while read -r dependency; do
|
||||||
update_dependencies_helper "$dependency" &
|
update_dependencies_helper "$dependency" &
|
||||||
|
Loading…
Reference in New Issue
Block a user